* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Merriweather', serif;
  
}

nav {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.2rem 6%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    color: #1a1a1a;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon img {
    width: 10vw;
    height: 10vh;    
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: #404040;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    background: linear-gradient(135deg, #00c2ff, #0066ff);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background-size: 100% 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-clip: padding-box;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 194, 255, 0.3);
}

/* Modern Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 12px;
    z-index: 1001;
    position: relative;
}

.hamburger-box {
    width: 32px;
    height: 24px;
    position: relative;
}

.hamburger-inner {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #1a1a1a;
    left: 0;
    transition: all 0.3s cubic-bezier(0.77, 0, 0.175, 1);
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: inherit;
    left: 0;
    transition: inherit;
}

.hamburger-inner::before {
    top: -8px;
}

.hamburger-inner::after {
    top: 8px;
}

.hamburger.active .hamburger-inner {
    background: transparent;
}

.hamburger.active .hamburger-inner::before {
    transform: translateY(8px) rotate(45deg);
    background: #00c2ff;
}

.hamburger.active .hamburger-inner::after {
    transform: translateY(-8px) rotate(-45deg);
    background: #00c2ff;
}

/* Modern Mobile Menu */
.mobile-menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 120px 6% rem;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 999;
    opacity: 0;
    box-shadow: 0 40px 50px rgba(0, 0, 0, 0.1);
    
}

.mobile-menu.active {
    top: 0;
    opacity: 1;
}

.mobile-menu a {
    display: block;
    color: #404040;
    text-decoration: none;
    padding: 1.2rem 0;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}


.mobile-menu.active a {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu .cta-button {
    margin-top: 2rem;
    width: 100%;
}
 /* Services Dropdown */
 .dropdown-container {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.dropdown-arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #404040;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-container:hover .dropdown-arrow,
.dropdown-container.active .dropdown-arrow {
    transform: rotate(180deg);
    border-top-color: #00c2ff;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown-container:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
}

.dropdown-menu a {
    color: #404040;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    font-size: 1rem;
    display: block;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    padding-left: 1.8rem;
    color: #00c2ff;
}

/* Mobile Dropdown Styles */
.mobile-dropdown-container {
    position: relative;
}

.mobile-dropdown-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding-left: 1rem;
}

.mobile-dropdown-container.active .mobile-dropdown-menu {
    max-height: 500px;
}

.mobile-dropdown-container .dropdown-arrow {
    transition: transform 0.3s ease;
}

.mobile-dropdown-container.active .dropdown-arrow {
    transform: rotate(180deg);
    border-top-color: #00c2ff;
}

/* Mobile Menu Adjustments */
.mobile-menu a {
    transform: translateY(0);
    opacity: 1;
}

.progress-bar-one {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        #FF6B35 0%, 
        #FF8E53 25%, 
        #1877F2 75%, 
        #4599FF 100%);
    z-index: 1000;
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 0 15px rgba(255, 107, 53, 0.3),
        0 0 30px rgba(24, 119, 242, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar-one::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.5) 0%, 
        rgba(255, 255, 255, 0) 100%);
    transform: translateX(100%);
    animation: progress-glow 2s infinite;
}

@keyframes progress-glow {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(200%);
    }
}

.progress-bar-one::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    animation: progress-pulse 1.5s infinite;
}

@keyframes progress-pulse {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* Section Heading */
.services-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
  text-align: center;
}
.services-section h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.services-section .subhead {
  color: #4b5563;
  margin-bottom: 2rem;
}

/* Grid Layout */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 1rem;
  position: relative;
}

/* Image Card */
.img-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  cursor: pointer;
}
.img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.img-card:hover img {
  transform: scale(1.05);
}

/* Blue Card (hidden by default) */
.blue-card {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #0f4daa;
  color: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  opacity: 0; transform: scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
}
.img-card:hover .blue-card {
  opacity: 1; transform: scale(1);
  pointer-events: auto;
}

/* Blue Card Content */
.blue-card .icon {
  width: 3rem; height: 3rem;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.blue-card .icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: white;
  fill: none;
  stroke-width: 2;
}
.blue-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.blue-card p {
  font-size: 0.9rem;
  color: #e0e7ff;
  flex-grow: 1;
}
.subhead {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
    color: #4b5563;
    line-height: 1.6;
    margin-top: 2%;
    
  }
  /* CSS */
.tagline {
    display: inline-block;
    padding: 0.25rem 1rem;        /* py-1 (0.25rem top/bottom), px-4 (1rem left/right) */
    margin-bottom: 1rem;          /* mb-4 (1rem) */
    font-size: 0.875rem;          /* text-sm */
    font-weight: 500;             /* font-medium */
    color: #2563EB;               /* text-blue-600 */
    background-color: #DBEAFE;    /* bg-blue-100 */
    border-radius: 9999px;        /* rounded-full */
    line-height: 1;               /* ensure tight vertical alignment */
  }
  
  
/* Responsive Tweak */
@media (max-width: 640px) {
  .services-section h2 { font-size: 2rem; }
  .blue-card { padding: 1rem; }
  .blue-card h3 { font-size: 1.1rem; }
  .blue-card p { font-size: 0.85rem; }
}
@media (max-width: 640px) {
    .logo-icon img {
        width: 28vw;
        height: 8vh;
    }
}

@media (max-width: 1024px) {
    .dropdown-menu {
        display: none;
    }
}
@media (max-width: 1024px) {
    .nav-links,
    .cta-button {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

@media (max-width: 480px) {
    .about-container {
      flex-direction: column;
      padding: 1rem;
      overflow-x: hidden;
    }
  
    .image-grid {
      grid-template-columns: 1fr;
      gap: 1rem;
    }
  
    .image-card {
      aspect-ratio: unset;
      height: 250px;
    }
  
    .image-card img {
      height: 100%;
      width: 100%;
      object-fit: cover;
    }
  
    .content-side {
       
       
        width: 120%;
        padding: 5rem;
        
    }
  
    h1 {
      font-size: 1rem;
    }
    
    .main-text,
    .feature-item span {
      font-size: 0.85rem;
    }
  }
  