/* styles.css */
:root {
    --primary-color: #000000;
    --secondary-color: #333333;
    --accent-color: #3a86ff;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #777777;
    --white: #ffffff;
    --dark-bg: #3d3d3d;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
  }
  
  body {
    color: var(--primary-color);
    line-height: 1.6;
    position: relative;
  }
  
  /* Background image styling */
  .background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('bg1.j'); /* Replace with your image path */
    background-size: cover;
    background-position: center;
    z-index: -1;
  }
  
  /* Dark overlay - adjust the opacity (0.5 = 50% dark) */
  .background-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55); /* ← current darkness */
  }
  
  .header {
    padding: 20px 40px;
    position: sticky;
    top: 0;
    background-color: var(--white);
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    margin-top: 0vh;
    height: 7.3vh; /* Increased from 2vw */
    width: 8.5vw;
    transition: transform 0.3s ease;
}

/* Optional hover effect */
.logo-img:hover {
    transform: scale(1.05);
}
nav {
    position: fixed;
    top: 0; /* Essential for animation */
    left: 0;
    right: 0;
    display: flex;
    align-items: flex-start;
    height: 8.5vh;
    width: 100%;
    padding: 1vh 10vw;
    justify-content: space-between;
    background-color: #ffffff;
    z-index: 1000;
    font-family: 'Poppins', sans-serif;
    transition: top 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  }
  

.nav-part2 {
    display: flex;
    gap:0.8vw;
    align-items: flex-start;
    padding: 1vh 0;
    position: relative;
    z-index: 10;
    margin-left: 36vw;
}


.nav-elem {
    position: relative;
    cursor: pointer;
}
/* Dropdown base style */
.dropdown {
    position: relative;
  }
  
  .dropdown-menu {
    position: absolute;
    top: 4.5vw;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    padding: 1vw;
    border-radius: 8px;
    display: none;
    flex-direction: column;
    gap: 0.5vw;
    z-index: 999;
    width: max-content;
    min-width: 15vw;
  }
  
  .dropdown-menu p {
    font-size: 0.73vw;
    font-weight: 600;
    margin: 0;
    padding: 0.3vw 2vw;
	padding-right: 3vw;
    white-space: nowrap;
    color: #000000;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s ease, color 0.3s ease;
  }
  
  
  .dropdown-menu p:hover {
    background-color: #0ba34e10;
    color: #0BA34E;
  }
  
  /* Show dropdown on hover */
  .dropdown:hover .dropdown-menu {
    display: flex;
  }
  #nav-backdrop {
    position: fixed;
    top: 6.5vh; /* height of the nav */
    left: 0;
    width: 100%;
    height: calc(100vh - 6.5vh);
    background: rgba(0, 0, 0, 0.48); /* subtle white blur */
    backdrop-filter: blur(2px);
    z-index: 999; /* just below nav and dropdown */
    display: none;
    transition: all 0.3s ease;
  }
  


.nav-part2 h4 {
    font-size: 0.83vw;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 2.6vw;
    padding: 0.5vw;
    color: #000000;
    
    transition: color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smooth transition */
    position: relative;
}

/* Hover effect */
.nav-part2 h4:hover {
    transform: translateY(-2px); /* slight lift effect */
    text-shadow: 0 2px 4px rgba(11, 163, 78, 0.2);
    color: #0BA34E;
}

/* Optional: Underline animation */
.nav-part2 h4::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 1.5vw;
    left: 50%;
    background-color: #0BA34E;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-part2 h4:hover::after {
    width: 80%;
}


nav button {
    margin-top: 1vh;
    background: linear-gradient(135deg, #4F5BFF, #252525, #000000);
    color: white;
    display: flex;
    align-items: center;
    padding: 8px 17px;
    font-size: 0.85vw;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;

}
@media (max-width: 768px) {
    /* Hide everything else */
    .nav-part2,
    .nav-elem,
    .dropdown,
    .dropdown-menu,
    .hamburger,
    #nav-bottom {
        display: none !important;
    }

    /* Style nav layout */
    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.5vh 5vw;
    }

    /* Show only logo */
    .logo-container {
        display: flex;
        gap: 8px;
        flex-direction: column;
        align-items: flex-start;
    }

    .logo-img {
        width: 29vw;
        height: 5.4vh;
        margin-bottom: 0vh;
    }
    nav button svg {
        display: none;
    }
    nav button {
        background: linear-gradient(135deg, #4F5BFF, #2b2c2c, #000000);
        font-size: 3.5vw;
        padding: 5px 11px;
        margin-bottom: 1vh;
    }
    
}


nav button:hover {
    background-color: #000000
}

nav button svg {
    height: 1.1vw;
    margin-left: 0.6vw;
    transition: all 0.4s ease; /* Make sure the default state has transition too */
}

nav button:hover svg {
    
    transform: scale(1.3) rotate(10deg);
}

  
  .contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    position: relative;
  }
  
  .contact-hero {
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
  }
  
  .contact-hero h1 {
    margin-top: 50px;
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 0px;
    line-height: 1.2;
    color: var(--white); /* White text for better contrast */
  }
  
  .subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9); /* Slightly transparent white */
    margin-bottom: 60px;
  }
  
  .contact-methods {
    display: flex;
    gap: 40px;
    margin-top: 40px;
  }
  
  .contact-method {
    flex: 1;
  }
  
  .contact-method h3 {
    /* font-size: 18px; */
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--white);
    text-decoration: underline;
  }
  
  .contact-method a, .contact-method pre {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .contact-method a:hover {
    color: #21a65f;
  }
  
  .contact-form {
    background-color: rgba(245, 245, 245, 0.9);
    padding: 60px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 1;
  }
  
  .contact-form h2 {
    font-size: 36px;
    margin-bottom: 40px;
    font-weight: 600;
  }
  
  form {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
  }
  
  .form-group {
    flex: 1 0 calc(50% - 15px);
    margin-bottom: 10px;
  }
  
  .form-group.full-width {
    flex: 1 0 100%;
  }
  
  label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary-color);
  }
  
  input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 6px;
    font-size: 16px;
    background-color: var(--white);
    transition: border-color 0.3s;
  }
  
  input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-color);
  }
  
  textarea {
    resize: vertical;
    min-height: 120px;
  }
  
  .submit-btn {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .submit-btn:hover {
    background-color: #2a75e6;
  }
  
  .footer {
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent dark footer */
    padding: 60px 40px 30px;
    position: relative;
    color: var(--white);
  }
  
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
  }
  
  .footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
  }
  
  .footer-links, .footer-social {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .footer-links a, .footer-social a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
  }
  
  .footer-links a:hover, .footer-social a:hover {
    color: var(--accent-color);
  }
  
  .footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 48px;
    }
    
    .contact-methods {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-form {
        padding: 40px 30px;
    }
    
    .form-group {
        flex: 1 0 100%;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
  }
  
  @media (max-width: 480px) {
    .header {
        padding: 20px;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .contact-container {
        padding: 40px 20px;
    }
    
    .contact-hero h1 {
        font-size: 36px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
  }
  /* === Floating Labels === */
  .form-floating {
    position: relative;
    flex: 1 0 calc(50% - 15px);
  }
  
  .form-floating.full-width {
    flex: 1 0 100%;
  }
  
  .form-floating input,
  .form-floating select,
  .form-floating textarea {
    padding: 16px 15px 12px;
    background-color: var(--white);
  }
  
  .form-floating label {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    transition: 0.2s;
    padding: 0 4px;
    color: rgb(121, 121, 121);
    pointer-events: none;
    font-size: 16px;
  }
  
  .form-floating input:focus + label,
  .form-floating textarea:focus + label,
  .form-floating textarea:not(:placeholder-shown) + label,
  .form-floating select:focus + label
  {
    top: -16px;
    color: var(--accent-color);
    transition: 0.2s;
  }
  
  .btn-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
  }
  
  .submit-btn.loading .btn-spinner {
    display: inline-block;
  }
  
  @keyframes spin {
    to {
        transform: rotate(360deg);
    }
  }
  
  /* === Form Status Message === */
  .form-status {
    margin-top: 20px;
    font-weight: 500;
    font-size: 16px;
    color: var(--secondary-color);
  }
  
  .form-status.success {
    color: green;
  }
  
  .form-status.error {
    color: red;
  }
  @media (max-width: 768px) {
    .ri-map-pin-line, .ri-phone-fill, .ri-mail-open-line {
      margin-right: 8px; /* Adjust margin on smaller screens */
    }
    p {
      font-size: 14px; /* Adjust font size on mobile */
    }
    .ri-map-pin-line {
      margin-bottom: 5px; /* Add some space for the address */
    }
  }
  
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    animation: fadeIn 1s ease-out 1.7s forwards;
    opacity: 0;
  }
  
  .footer-left h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
  }
  
  .footer-right {
    text-align: right;
    font-size: 0.9rem;
  }
  @media (max-width: 600px) {
    footer {
      flex-direction: column;
      gap: 15px;
      align-items: flex-start;
  }
  
  .footer-right {
      text-align: left;
      color:black;
  }
  
  .container {
      padding: 30px 20px;
      border-radius: 0;
  }
  }
  @media (max-width: 600px) {
      #social-section{
      margin-top:20px;
  }
}
  @media (max-width: 768px) {
    .ri-map-pin-line, .ri-phone-fill, .ri-mail-open-line {
      margin-right: 8px; /* Adjust margin on smaller screens */
    }
    p {
      font-size: 14px; /* Adjust font size on mobile */
    }
    .ri-map-pin-line {
      margin-bottom: 5px; /* Add some space for the address */
    }
  }
  .quick-link {
    color: black;
    text-decoration: none;
  }
  
  .quick-link:hover {
    color: #0ba34e;
  }