* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    overflow-x: hidden;
    background: #f9fcff;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(54, 67, 124, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0 15px;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo-img {
    width: 90px;
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

.logo-img:hover {
    transform: scale(1.1);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    text-decoration: none;
    color: #50d355;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #ff6f61;
    transition: width 0.3s;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #ff6f61;
}

/* Hamburger Icon */
.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #ffffff;
    z-index: 1001;
    transition: transform 0.3s;
}

.hamburger:hover {
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #1e3c72 0%, #ff6f61 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./assets/images/Hero2.png') no-repeat center/cover;
    background-size: cover;
    opacity: 0.2;
    z-index: 0;
}

.hero-content {
    z-index: 1;
    max-width: 600px;
    width: 100%;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: fadeInLeft 1.5s ease-out;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    animation: fadeInUp 1.5s ease-out 0.3s;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 5/4;
    background: url('https://via.placeholder.com/500x400?text=Hero+Image') no-repeat center/cover;
    background-size: cover;
    border-radius: 10px;
    animation: float 4s ease-in-out infinite;
    z-index: 1;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
}

.floating-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

/* CTA Button */
.cta-btn {
    padding: 15px 30px;
    background: #ff6f61;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about {
    padding: 100px 20px;
    background: white;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #1e3c72;
}

.about-content {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text p {
    color: #4c04f1;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-img {
    flex: 1;
    width: 100%;
    height: 400px;
    background: url('./assets/images/Aboutus.png') no-repeat center/cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: float 5s ease-in-out infinite;
}

/* Services Section */
.services {
    padding: 80px 50px;
    background: #f9f9f9;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #1e3c72;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    perspective: 1000px; /* 3D depth for flip */
    background: none; /* Remove default background */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    opacity: 0; /* For GSAP scroll animation */
    height: 350px; /* Fixed height for consistency */
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
}

.service-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 10px;
}

.card-front {
    background: #fff;
}

.card-back {
    background: #1e3c72;
    color: white;
    transform: rotateY(180deg);
}

.service-img {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
    margin-bottom: 10px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin: 10px 0;
    color: #1e3c72;
}

.card-back h3 {
    color: white;
}

.service-card p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 10px;
}

.card-back p {
    color: #ddd;
}

.card-back .cta-btn {
    margin-top: 10px;
}

/* Service and Pricing Images */
.service-img, .pricing-img {
    width: 100%;
    height: 200px;
    background: no-repeat center/cover;
    background-size: cover;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* Client Images */
.client-img {
    width: 80px;
    height: 80px;
    background: no-repeat center/cover;
    background-size: cover;
    border-radius: 50%;
    margin: 0 auto 20px;
}

/* Payment Images */
.payment-img {
    width: 100%;
    max-width: 600px;
    height: 300px;
    background: no-repeat center/cover;
    background-size: cover;
    margin: 0 auto 20px;
    border-radius: 10px;
    animation: float 5s ease-in-out infinite;
}

/* Statistics Section */
.statistics {
    padding: 100px 20px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    padding: 20px;
    opacity: 0;
    transform: translateY(50px);
}

.stat-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 1rem;
    color: #ddd;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 20px;
    background: white;
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #1e3c72;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial {
    display: none;
    padding: 30px;
    background: #f4f7fc;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-out;
}

.testimonial.active {
    display: block;
}

.testimonial p {
    font-style: italic;
    color: #666;
    margin-bottom: 15px;
}

.testimonial h4 {
    font-size: 1.2rem;
    color: #1e3c72;
}

.slider-dots {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #ff6f61;
}

/* Pricing Section */
.pricing {
    padding: 100px 20px;
    background: #f4f7fc;
    text-align: center;
}

.pricing h2, .pricing h3 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #1e3c72;
}

.pricing h3 {
    font-size: 2rem;
    margin-top: 40px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    animation: float 5s ease-in-out infinite;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1e3c72;
}

.pricing-card p {
    font-size: 2rem;
    color: #ff6f61;
    margin-bottom: 20px;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 20px;
}

.pricing-card ul li {
    margin-bottom: 10px;
    color: #666;
}

/* Comparison Section */
.comparison {
    padding: 100px 20px;
    background: white;
    text-align: center;
}

.comparison h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #1e3c72;
}

.comparison table {
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    width: 100%;
}

.comparison th, .comparison td {
    padding: 15px;
    border: 1px solid #ddd;
    font-size: 1rem;
}

.comparison th {
    background: #1e3c72;
    color: white;
}

.comparison td {
    color: #666;
}

.comparison .fas {
    font-size: 1.2rem;
}

.comparison .fa-check {
    color: #28a745;
}

.comparison .fa-times {
    color: #dc3545;
}

/* FAQ Section */
.faq {
    padding: 100px 20px;
    background: #f4f7fc;
    text-align: center;
}

.faq h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #1e3c72;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
    cursor: pointer;
}

.faq-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1e3c72;
}

.faq-item p {
    color: #666;
    display: none;
}

.faq-item.active p {
    display: block;
}

/* Contact Section */
.contact {
    padding: 100px 20px;
    background: #f4f7fc;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1e3c72;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact input, .contact textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact input:focus, .contact textarea:focus {
    border-color: #ff6f61;
    outline: none;
}

.contact button {
    padding: 15px;
    background: #ff6f61;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.contact button:hover {
    background: #e55a50;
    transform: translateY(-5px);
}

/* Payment Section */
.payment {
    padding: 100px 20px;
    background: white;
    text-align: center;
}

.payment h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1e3c72;
}

.payment p {
    max-width: 800px;
    margin: 0 auto 40px;
    color: #666;
}

/* Footer Section */
.footer {
    padding: 50px 20px;
    background: #1e3c72;
    color: white;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
    justify-content: space-between;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-column p, .footer-column ul li a {
    color: #ddd;
    font-size: 1rem;
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #ff6f61;
}

.footer-column p i {
    margin-right: 10px;
}

.footer-social {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-icons a {
    color: #ddd;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #ff6f61;
}

.footer-bottom {
    margin-top: 30px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #ddd;
}

.iso-badge {
    width: 100px;
    height: 50px;
    object-fit: contain;
}

/* Fixed Buttons */
.fixed-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.fixed-buttons a {
    padding: 15px;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.fixed-buttons a.call {
    background: #ff6f61;
}

.fixed-buttons a.top-btn {
    background: #1e3c72;
    opacity: 0;
    pointer-events: none;
}

.fixed-buttons a.top-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

.fixed-buttons a:hover {
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* Consolidated Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(54, 67, 124, 0.95);
        padding: 20px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin-bottom: 15px;
    }

    .nav-links li a {
        color: #ffffff;
        font-size: 1.2rem;
    }

    .hamburger {
        display: block;
    }

    .logo-text {
        font-size: 1rem;
    }

    .logo-img {
        width: 45px;
        height: 45px;
    }

    .logo {
        gap: 6px;
    }

    /* Hero Section */
    .hero {
        flex-direction: column;
        justify-content: center;
        padding: 100px 15px 50px;
        overflow-x: hidden;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-img {
        max-width: 300px;
        height: 200px;
        margin-top: 20px;
        width: 100%;
        display: block;
    }

    .floating-elements {
        width: 100%;
    }

    .floating-icon {
        width: 30px;
        height: 30px;
    }

    .floating-icon img {
        width: 100%;
        height: 100%;
    }

    /* Services Section */
    .services {
        padding: 50px 30px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-card {
        max-width: 100%;
        padding: 0; /* Reset padding, handled by card-front/back */
        height: 300px; /* Adjusted for mobile */
    }

    .service-img {
        height: 140px;
    }

    .card-front,
    .card-back {
        padding: 15px;
    }

    /* Other Sections */
    .service-img, .pricing-img {
        height: 150px;
    }

    .payment-img {
        height: 200px;
    }

    .about-content {
        flex-direction: column;
    }

    .service-grid, .pricing-grid, .stats-grid, .faq-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        text-align: center;
    }
}

.portfolio {
  padding: 4rem 2rem;
  background: #f0f0f0;
  text-align: center;
}

.portfolio h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #222;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

.project-card img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  width: 100%;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card:hover .overlay {
  opacity: 1;
}
