* { box-sizing: border-box; }

/* =================================
   BASE & NEW AESTHETICS
   ================================= */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .08), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, .06), transparent 45%),
    linear-gradient(180deg, #020617, #020b2d, #020617);
  color: white;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

section {
  padding: 80px 100px;
}

.stars {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(2px 2px at 20% 30%, white, transparent),
    radial-gradient(1.5px 1.5px at 60% 80%, white, transparent),
    radial-gradient(1px 1px at 90% 10%, white, transparent),
    radial-gradient(1.8px 1.8px at 40% 50%, white, transparent),
    radial-gradient(1px 1px at 70% 20%, white, transparent);
  animation: twinkle 6s infinite alternate;
  pointer-events: none;
  z-index: -1;
}

@keyframes twinkle {
  from { opacity: .25; }
  to { opacity: .6; }
}

.btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #22C55E;
  color: #052e16; /* Dark green text for contrast */
  padding: 15px 34px;
  border-radius: 18px;
  box-shadow: 0 0 30px rgba(34, 197, 94, .6);
}
.btn-primary:hover { transform: scale(1.05); }

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, .6);
  padding: 15px 34px;
  border-radius: 18px;
  margin-left: 15px;
}
.btn-outline:hover { background: rgba(255, 255, 255, .1); }

.btn-secondary {
  background: #2563EB;
  color: white;
  padding: 10px 24px;
  border-radius: 14px;
}

/* =================================
   LAYOUT & MERGED STYLES
   ================================= */

/* --- Navbar --- */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 80px;
  backdrop-filter: blur(14px);
  background: rgba(10, 37, 64, .55);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  z-index: 999;
}
.logo { font-size: 1.5rem; font-weight: 700; }
.logo b { color: #2563EB; }
.navbar ul { list-style: none; display: flex; gap: 35px; }
.navbar li { cursor: pointer; opacity: .85; }
.navbar li:hover { opacity: 1; }
.navbar ul li a {
    display: flex;
    align-items: center;
    gap: 8px; /* Space between icon and text */
}
.navbar ul li a i {
    color: #2563EB; /* Icon color for navbar */
    font-size: 1.1rem;
}


/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  padding: 0 100px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 75% 40%, rgba(37, 99, 235, .25), transparent 45%),
    linear-gradient(120deg, #020617, #0A2540, #2563EB);
  position: relative;
  overflow: hidden;
}
.hero-text { max-width: 600px; z-index: 2; position: relative; }
.hero h1 { font-size: 56px; line-height: 1.1; }
.hero p { max-width: 520px; opacity: .85; }
.hero-illustration {
    position: absolute;
    bottom: 0;
    right: 50px;
    width: 550px;
    z-index: 1;
    animation: float 4s ease-in-out infinite;
}
.hero-illustration img { width: 100%; height: auto; opacity: 0.5; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* --- Trust Badges --- */
.trust-badges {
  margin-top: -60px;
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.badge {
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
  padding: 26px 50px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .12);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center content vertically */
}
.badge i {
    font-size: 2.5rem; /* Larger icon size */
    color: #2563EB; /* Primary blue for icons */
    margin-bottom: 10px;
}
.badge-number { font-size: 2rem; font-weight: 700; color: #fff; }
.badge-text { font-size: 0.9rem; color: #fff; opacity: 0.8; }

/* --- Services --- */
.services {
  padding: 120px 80px;
  text-align: center;
}
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
}
.card {
  background: linear-gradient(180deg, #0A2540, #020617);
  border-radius: 28px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 30px 60px rgba(37, 99, 235, .35);
  transition: .35s;
  border: 1px solid rgba(37, 99, 235, .2);
}
.card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 40px 80px rgba(34, 197, 94, .45);
  border-color: rgba(34, 197, 94, .4);
}
.card i { color: #22C55E; width: 48px; height: 48px; margin-bottom: 20px; }

/* --- Packages Section --- */
.packages-section {
    padding: 120px 80px;
    text-align: center;
}
.packages-section h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: white;
}
.package-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 3 columns responsive */
    gap: 30px;
    justify-content: center;
    margin-top: 60px;
}
.package-card {
    background: linear-gradient(180deg, #0A2540, #020617);
    border-radius: 28px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(37, 99, 235, .35);
    transition: .35s;
    border: 1px solid rgba(37, 99, 235, .2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.package-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 40px 80px rgba(34, 197, 94, .45);
    border-color: rgba(34, 197, 94, .4);
}
.package-card h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 15px;
}
.package-card .package-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: #22C55E; /* Accent green for price */
    margin-bottom: 25px;
}
.package-card .package-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
    flex-grow: 1; /* Allow features list to take available space */
}
.package-card .package-features li {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.package-card .package-features li i {
    color: #22C55E; /* Accent green for checkmarks */
    font-size: 1.1rem;
}
.package-card .btn-primary {
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
    margin-top: auto; /* Push button to bottom */
}


/* --- Why Choose Us --- */
.why-us {
    padding: 120px 80px;
    display: flex;
    align-items: center;
    gap: 80px;
    background-color: transparent;
}
.why-us-illustration { flex: 1 1 45%; text-align: center; }
.why-us-content { flex: 1 1 55%; }
.why-us-illustration img { max-width: 100%; height: auto; border-radius: 24px; }
.why-us-content ul { list-style: none; padding: 0; }
.why-us-content li { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.why-us-content i { color: #22C55E; }

/* --- About Us Section (New) --- */
.about-us-page {
    padding: 120px 80px;
    text-align: center;
}
.about-us-page h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: white;
}
.about-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
    text-align: left;
}
.about-content p { /* Styling for paragraphs within about content */
    margin-bottom: 1em; /* Space out paragraphs */
}


/* --- Portfolio --- */
.portfolio { padding: 120px 80px; text-align: center; }
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 300px);
    gap: 30px;
    justify-content: center;
    margin-top: 60px;
}
.portfolio-item {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    height: 220px;
    background: #0A2540;
    box-shadow: 0 30px 60px rgba(37, 99, 235, .35);
}
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}
.portfolio-item:hover img { transform: scale(1.1); opacity: 0.1; }
.overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.portfolio-item:hover .overlay { opacity: 1; }

/* --- Process Flow --- */
.process {
    padding: 120px 80px;
    text-align: center;
}
.process h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: white;
}
.process-flow {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 60px;
    padding: 0 5%; /* Give some space for the line */
    flex-wrap: wrap; /* Allow wrapping */
    justify-content: center;
    gap: 20px;
}
.process-flow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 5%;
    width: 90%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.2); /* Light line for dark theme */
    transform: translateY(-50%);
    z-index: 0;
}
.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    background-color: #0A2540; /* Dark background for steps */
    padding: 20px 10px;
    border-radius: 18px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    z-index: 1;
    width: 150px; /* Adjust width as needed for spacing */
    flex-shrink: 0;
    color: rgba(255,255,255,0.9);
    text-align: center; /* Center text within the step */
}
.process-step i { /* Icon styling for process flow */
    font-size: 2.5rem;
    color: #2563EB;
    margin-bottom: 5px;
}
.process-step span {
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
}

/* --- Testimonials --- */
.testimonials {
    padding: 120px 80px;
    text-align: center;
}
.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: white;
}
.testimonial-slider-container {
    position: relative;
    max-width: 600px; /* Max width for the slider */
    margin: 60px auto 0;
    overflow: hidden; /* Hide extra slides */
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(37, 99, 235, .35);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    border:1px solid rgba(255,255,255,.12);
    height: 350px; /* Fixed height for slider container to prevent image resizing issues */
    display: flex; /* Use flex to center slides */
    align-items: center; /* Center items vertically */
    justify-content: center; /* Center items horizontally */
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%; /* Each slide takes full width of container */
    box-sizing: border-box;
    padding: 20px; /* Padding inside slide */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0; /* Prevent shrinking */
}

.testimonial-slide img {
    max-width: 100%;
    max-height: 300px; /* Max height for testimonial images */
    width: auto;
    height: auto;
    object-fit: contain; /* Contain the image within its bounds */
    border-radius: 18px; /* Slightly rounded corners for images */
}

.prev-slide, .next-slide {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 37, 64, 0.7);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.prev-slide { left: 10px; }
.next-slide { right: 10px; }

.prev-slide:hover, .next-slide:hover {
    background: #2563EB;
}


/* --- CTA --- */
.cta {
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.12), transparent 40%),
    linear-gradient(180deg,#020617,#020b2d);
  text-align:center;
  padding:140px 80px; /* Adjusted padding for better spacing */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cta h2 {
    font-size: 3.5rem; /* Larger heading */
    margin-bottom: 20px;
    color: white;
}
.cta p {
    font-size: 1.2rem;
    max-width: 600px;
    opacity: 0.8;
    margin-bottom: 40px;
}


/* --- Footer --- */
footer {
    background-color: #020617;
    color: rgba(255,255,255,0.7);
    padding: 60px 80px; /* Consistent padding */
}
.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 40px; /* Space between columns */
}
.footer-info {
    flex: 1 1 300px; /* Allow info section to take up space */
}
.footer-info h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 15px;
}
.footer-info p {
    font-size: 0.95rem;
    line-height: 1.6;
    display: flex; /* Make p tags flex to align icon */
    align-items: center;
}
.footer-info p i { /* Icon in footer info */
    margin-right: 10px;
    color: #2563EB; /* Blue for icons */
    font-size: 1.2rem;
}
.footer-links {
    flex: 1 1 200px; /* Allow links section to take up space */
}
.footer-links h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 15px;
}
.footer-links ul {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
}
.footer-links a:hover {
    color: white;
}
.footer-gmaps {
    flex: 1 1 250px;
}
.footer-gmaps h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* Menu Toggle (Hamburger) */
.menu-toggle {
    display: none; /* Hidden by default on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1000;
}
.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* --- Responsive --- */
@media (max-width: 768px) {
    section, .process, .testimonials, .cta, footer { padding: 60px 20px; } /* Reduced padding */
    .navbar { padding: 15px 20px; }
    .navbar ul { /* Mobile menu base style */
        display: none; /* Hide by default */
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(2, 6, 23, 0.95); /* Darker background for menu */
        backdrop-filter: blur(14px);
        justify-content: center;
        align-items: center;
        gap: 30px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 998;
    }
    .navbar ul.active { /* Mobile menu active state */
        display: flex;
        opacity: 1;
        visibility: visible;
    }
    .navbar ul li {
        margin: 15px 0; /* More vertical space */
        font-size: 1.5rem; /* Larger font size for readability */
    }
    .navbar ul li a {
        padding: 10px 20px; /* Clickable area */
    }
    .navbar .btn-primary { /* Hide consultation button on mobile */
        display: none;
    }
    .menu-toggle { /* Show hamburger on mobile */
        display: flex;
    }

    .hero { flex-direction: column; text-align: center; padding: 100px 20px 60px 20px; min-height: unset; }
    .hero-text { max-width: 100%; }
    .hero h1 { font-size: 3rem; } /* Adjusted font size for mobile */
    .hero p { font-size: 0.95rem; }
    .hero-btn { flex-direction: column; gap: 15px; }
    .hero-btn .btn-outline { margin-left: 0; }
    .hero-illustration { display: none; }

    .trust-badges { margin-top: 30px; flex-direction: column; gap: 20px; }
    .badge { padding: 20px 30px; width: 100%; }
    .badge i { font-size: 2rem; }
    .badge-number { font-size: 1.8rem; }

    h2 { font-size: 2rem; } /* General H2 adjustment */

    .service-cards { grid-template-columns: 1fr; }
    .package-cards { grid-template-columns: 1fr; } /* Stack packages */
    .why-us { flex-direction: column; gap: 40px; }
    .why-us-illustration img { border-radius: 18px; }
    .why-us-content ul { text-align: left; }
    .portfolio-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); } /* Adjust portfolio grid */

    .process-flow {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }
    .process-flow::before { /* Remove line for mobile */
        display: none;
    }
    .process-step {
        width: 80%; /* Adjust width for mobile */
        max-width: 250px;
        margin-bottom: 20px; /* Space between steps */
    }
    .process-step:last-child { margin-bottom: 0; }

    .testimonials h2 { font-size: 2rem; }
    .testimonial-slider-container { height: 300px; } /* Adjust height */
    .testimonial-slide img { max-height: 250px; }
    .prev-slide, .next-slide { width: 30px; height: 30px; font-size: 1.2rem; }

    .cta h2 { font-size: 2.5rem; }
    .cta p { font-size: 1rem; }
    .cta .btn-primary { padding: 12px 24px; font-size: 1rem; }

    .footer-container { flex-direction: column; text-align: center; gap: 30px;}
    .footer-info, .footer-links, .footer-gmaps { text-align: center; flex: unset; width: 100%; }
    .footer-info p { justify-content: center; }
    .footer-links ul { padding: 0; }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366; /* Accent green */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1000; /* Ensure it's on top */
    transition: transform 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Portfolio Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
    backdrop-filter: blur(5px);
    padding-top: 60px;
}

.modal-content {
    background-color: #0A2540;
    margin: 5% auto; /* 5% from the top and centered */
    padding: 30px;
    border: 1px solid #2563EB;
    border-radius: 28px;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 800px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    color: white;
}

.modal-content h3 {
    color: #22C55E;
    font-size: 2rem;
    margin-top: 0;
}

.modal-content .modal-category {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.modal-content img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.modal-content p {
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}
