:root {
    --primary: #0056b3;
    --primary-hover: #004494;
    --bg-light: #f8f9fa;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    
    /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; */
}

body {
    color: var(--text-dark);
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navbar Styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    border-bottom: 1px solid var(--border-color);
}

.logo {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #004494;
    display: flex;
    align-items: center;
    font-size: 3.2rem;
	gap: 10px;
}

.logo .icon {
    background-color: var(--primary);
    color: #fff;
    padding: 5px 8px;
    border-radius: 6px;
    font-weight: bold;
}

/* Base style for the link */
.logo-link {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    display: flex;
    align-items: center;
    font-size: 3.2rem;
	gap: 10px;
    color: #004494;             /* Set your desired default text color */
    text-decoration: none;      /* Removes the underline */
    transition: color 0.2s;     /* Makes the hover effect smooth */
}

/* Keeps the color exactly the same after it has been clicked */
.logo-link:visited {
  	color: #004494;             /* Match your base style color precisely */
}

/* Defines the effect when a user hovers over the text */
.logo-link:hover {
  color: #004494;             /* Set your desired hover color */
  text-decoration: none;      /* Ensures no underline appears on hover */
}

nav a {
    text-decoration: none;
    color: var(--text-muted);
    margin-left: 20px;
    font-weight: 500;
}

nav a.active, nav a:hover {
    color: var(--primary);
}

nav a.nonelink {
    color: var(--primary);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    display: flex;
    align-items: center;
    font-size: 3.8rem;
	gap: 10px; 
	text-decoration: none;
}

/* Button Component */
.btn {
    display: inline-block;
    background-color: var(--primary);
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
        background-color: var(--primary-hover);
}

/* Main Layout Elements */
main {
    flex: 1;
    padding: 60px 8%;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 80px;
}

.hero-text {
    flex: 1;
    max-width: 550px;
}

.hero-text h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Updated Responsive Image Rules */
.hero-image, .contact-graphic {
    background-color: #ffffff;
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 850px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.contact-graphic img {
    max-width: 350px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Services Grid Section */
.services-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.card h3 {
    margin-bottom: 12px;
}

.card p {
    color: var(--text-muted);
    line-height: 1.5;
    text-align: justify; /* This justifies the text inside the boxes */
}

/* Contact Page Layout */
.contact-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

.contact-content {
    flex: 1;
    max-width: 500px;
    width: 100%;
}

.contact-form {
    background: #fff;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    border-radius: 6px;
    font-size: 1rem;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #fff;
}

.submit-btn {
    width: 100%;
}

.phone-info {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.phone-info h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.phone-number {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary);
}

/* Footer styling */
footer {
    display: flex;
    justify-content: space-between;
    padding: 30px 8%;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
}

footer a:hover {
    color: var(--primary);
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}
.whatsapp-float img {
  width: 35px;
  height: 35px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.logo-link {
        font-size: 1.8rem; /* Shrinks the text size on mobile screens */
    }

    .hero, .contact-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        max-width: 100%;
    }
    .contact-graphic {
        display: none; /* Auto-hides images on smaller mobile viewports for clean padding */
    }
    
	 .whatsapp-float {
        position: fixed; /* Re-confirm fixed positioning */
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
        left: auto;     /* Prevent stretching from full-width parents */
        top: auto;      
    }
      
    .whatsapp-float img {
        width: 28px;
        height: 28px;
    }
}
