

/* 
   RESET & BASE STYLES (Mobile First)
   */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: var(--primary-font-size);
    line-height: 1.5;
    color: var(--primary-text);
    background-color: var(--background-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

section {
    scroll-margin-top: 80px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* 
   HEADER & NAVIGATION (Mobile First)
    */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.navbar {
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    width: 90px;
    height: 60px;
    border-radius: 8px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
}

/* Logo and text styling glow */

.logo-text {
  font-family: 'poppins', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary-color);
  line-height: 1.2;
  white-space: normal;
  letter-spacing: -0.02em;
  max-width: 140px;

   /* Glow effect */
  text-shadow: 
    0 0 5px rgba(28, 167, 236, 0.3),
    0 0 10px rgba(28, 167, 236, 0.2),
    0 0 15px rgba(28, 167, 236, 0.1);
  transition: text-shadow 0.3s ease;
}

/* Enhanced glow on hover */
.logo:hover .logo-text {
    text-shadow: 
        0 0 8px rgba(28, 167, 236, 0.5),
        0 0 15px rgba(28, 167, 236, 0.3),
        0 0 20px rgba(28, 167, 236, 0.2);
}


/* Desktop Navigation - Hidden on Mobile */
.nav-links {
    display: none;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links li a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

/* Mobile Menu Toggle */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Dropdown Menu */
.dropdown-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: min(75%, 320px);
    height: 100vh;
    background: var(--primary-color);
    z-index: 1001;
    transition: left 0.35s ease-in-out;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
}

.dropdown-menu.active {
    left: 0;
}

.dropdown-menu .menu-logo {
    padding: 2rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 1rem;
}

.dropdown-menu .menu-logo img {
    width: 100px;
    height: auto;
    margin: 0 auto;
    border-radius: var(--radius-sm);
}

.dropdown-menu ul {
    list-style: none;
    padding: 0 1rem;
}

.dropdown-menu ul li a {
    display: block;
    padding: 0.875rem 1rem;
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.25s ease;
    border-radius: var(--radius-sm);
}

.dropdown-menu ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.05);
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 
   HERO SECTION (Mobile First)
   */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1B5A7A 100%);
    display: flex;
    align-items: center;
    padding-top: 4rem;
}

.hero-overlay {
    width: 100%;
    padding: 4rem 1.5rem;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: clamp(1.8rem, 6vw, 3rem);
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: clamp(1rem, 4vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.hero-description {
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--secondary-color);
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    background: var(--secondary-color);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #0e8bc4;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(28, 167, 236, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    background: transparent;
    color: white;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* 
   PROBLEM SECTION (Mobile First)
   */
.problem-section {
    padding: 3rem 1.5rem;
    background: var(--accent-color);
    text-align: center;
}

.problem-container {
    max-width: 800px;
    margin: 0 auto;
}

.problem-section h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.problem-text {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.solution-text {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

/* 
    */
.services {
    padding: 3rem 1.5rem;
    background: var(--background-color);
}

.service-container h2 {
    text-align: center;
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.services-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

.service-card {
    background: var(--card-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin: 0.75rem 0;
}

.price span {
    font-size: 0.85rem;
    font-weight: normal;
    color: var(--text-muted);
}

.service-card hr {
    border: none;
    height: 1px;
    background: #e5e7eb;
    margin: 1rem 0;
}

.service-card h4 {
    color: var(--primary-color);
    font-size: 1rem;
    margin: 0.75rem 0 0.5rem;
}

.service-card ul {
    list-style: none;
    margin-bottom: 1rem;
}

.service-card ul li {
    padding: 0.25rem 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card ul li::before {
    content: "✓";
    color: var(--secondary-color);
    font-weight: bold;
}

.service-card .btn-primary {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-top: 1rem;
    padding: 0.7rem 1rem;
}

/* 
   ADDONS SECTION (Mobile First)
    */
.addons {
    padding: 3rem 1.5rem;
    background: var(--accent-color);
}

.addons-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.addons-header h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.addons-header .note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.addons-grid {
    display: grid;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.addon-card {
    background: var(--card-color);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.addon-card:hover {
    transform: translateY(-3px);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-sm);
}

.addon-card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.addon-price {
    font-weight: 800;
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

/* 
   WHY US SECTION (Mobile First)
  */
.why-us {
    padding: 3rem 1.5rem;
    background: var(--background-color);
}

.why-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.why-intro h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.why-grid {
    display: grid;
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
}

.why-item {
    background: var(--card-color);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.why-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.why-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.why-text h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.why-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* 
   HOW IT WORKS (Mobile First)
   */
.how-it-works {
    background: linear-gradient(rgba(11, 60, 93, 0.88), rgba(11, 60, 93, 0.88)), url('../images/How\ it\ works.jpg');
    background-size: cover;
    background-position: center;
    padding: 3rem 1.5rem;
}

.how-it-works-container {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.how-it-works h2 {
    color: var(--secondary-color);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    margin-bottom: 0.75rem;
}

.how-it-works .subtitle {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.step h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.step p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

/* ============================================
   CONTACT CTA (Mobile First)
   ============================================ */
.contact-cta {
    background: var(--primary-color);
    padding: 3rem 1.5rem;
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-container h2 {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    color: white;
    margin-bottom: 1rem;
}

.cta-container p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.75rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.cta-buttons .btn-secondary {
    border-color: white;
    color: white;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* ============================================
   FOOTER (Mobile First)
   ============================================ */
.footer {
    background: #082c44;
    color: #cbd5e1;
    padding: 2rem 1.5rem 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-col h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-col a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cbd5e1;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.footer-col a:hover {
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    font-size: 1.3rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
}

/* 
   TABLET BREAKPOINT (768px and up)
    */
@media (min-width: 768px) {
    section {
        scroll-margin-top: 90px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .addons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .steps {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .step {
        flex: 1;
        min-width: 200px;
    }

    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-col:first-child {
        border-right: 1px solid rgba(255, 255, 255, 0.15);
        padding-right: 2rem;
    }

    .footer-col:last-child {
        padding-left: 2rem;
    }

    .hero-content {
        text-align: left;
        margin: 0;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .problem-section {
        padding: 4rem 2rem;
    }

    .logo-text {
        line-height: 1.2;
        max-width: 140px;
    }
}

/* 
   DESKTOP BREAKPOINT (1024px and up)
 */
@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }

    .dropdown-menu {
        display: none !important;
    }

    .nav-links {
        display: flex;
    }

    .nav-container {
        padding: 0.5rem 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .addons-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .why-grid {
        gap: 2rem;
    }

    .steps {
        flex-wrap: nowrap;
    }

    .services {
        padding: 5rem 2rem;
    }

    .addons {
        padding: 5rem 2rem;
    }

    .why-us {
        padding: 5rem 2rem;
    }

    .how-it-works {
        padding: 5rem 2rem;
    }

    .contact-cta {
        padding: 5rem 2rem;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .nav-links li a {
        font-size: 1.4rem;
        font-weight: 700;
    }

    .nav-links li a::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--secondary-color);
        transition: width 0.3s ease;
    }

    .nav-links li a:hover::after {
        width: 100%;
    }
}

/* 
   LARGE DESKTOP (1440px and up)
    */
@media (min-width: 1440px) {
    .nav-container {
        padding: 0.75rem 4rem;
    }

    .services-grid,
    .addons-grid,
    .why-grid {
        gap: 2.5rem;
    }

    .service-card {
        padding: 2rem;
    }
}

/* 
   UTILITY & ACCESSIBILITY
  */
@media (max-width: 480px) {
    .service-card h3 {
        font-size: 1.2rem;
    }

    .why-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .btn-primary, .btn-secondary {
        padding: 0.7rem 1.25rem;
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    @media (max-width: 480px) {
    .logo img {
        width: 70px;
        height: auto;
    }

    .logo-text {
        font-size: 0.85rem;
        max-width: 100px;
    }

    .nav-container {
        padding: 0.75rem;
    }
}
}

/* Smooth active state for buttons */
.btn-primary:active,
.btn-secondary:active {
    transform: translateY(2px);
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}