* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

/* Nav Container */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    min-height: 90px;
}

/* Logo */
.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c5aa0;
}

/* Nav Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 20px;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    display: block;
}

/* Animated Underline Effect */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #2c5aa0, #1e3f73);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover {
    color: #2c5aa0;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Active State */
.nav-links a.active {
    color: #2c5aa0;
}

.nav-links a.active::after {
    width: 100%;
}

/* CTA Button */
.cta-button {
    background: #2c5aa0;
    color: white;
    padding: 0.7rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #1e3f73;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: #333;
    border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 90px;
        right: 20px;
        background: #a3c2f1;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 1rem 2rem;
        border-radius: 8px;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .cta-button {
        display: none;
    }
}

/* Hero Section with Animated Background */
.hero {
    position: relative;
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3f73 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Animated Background Images */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.7) 0%, rgba(30, 63, 115, 0.7) 100%);
    z-index: 2;
}

.hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-image.active {
    opacity: 1;
}

/* Individual background images */
.hero-image:nth-child(1) {
    background-image: url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
}

.hero-image:nth-child(2) {
    background-image: url('../images/hero-1.jpg');
}

.hero-image:nth-child(3) {
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
}

/* Hero Content */
.hero>.container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero .subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    font-weight: 400;
    opacity: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.7s both;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: inline-flex;
    gap: 1rem;
    margin-top: 2rem;
    position: relative;
    z-index: 3;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.btn-primary {
    background: #fff;
    color: #2c5aa0;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border: 2px solid white;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: white;
    color: #2c5aa0;
    transform: translateY(-2px);
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(1.1);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Image Slide Indicators */
.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1rem;
    }
}

/* Additional Content Styles */
.content-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.content-section h2 {
    text-align: center;
    color: #2c5aa0;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.content-section p {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5aa0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

/* About Section */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2c5aa0;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.8;
}

/* Achievements Section */
.achievements-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Achievement Image - INCREASED HEIGHT */
.achievement-image {
    width: 100%;
    height: 320px;
    /* Increased from 250px to 320px */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(44, 90, 160, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.achievement-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(44, 90, 160, 0.3);
}

.achievement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.achievement-image:hover img {
    transform: scale(1.05);
}

/* Overlay text on image */
.achievement-image::after {
    content: 'Our Success Story';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(44, 90, 160, 0.8));
    color: white;
    padding: 1.5rem;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.achievement-image:hover::after {
    opacity: 1;
}

/* Stats Grid */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2c5aa0, #4a90e2);
    transition: all 0.5s ease;
}

.stat-item:hover::before {
    left: 0;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(44, 90, 160, 0.2);
    border-color: rgba(44, 90, 160, 0.2);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: bold;
    color: #2c5aa0;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(44, 90, 160, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    color: #4a90e2;
    transform: scale(1.1);
}

.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .achievement-image {
        height: 280px;
        /* Increased for mobile too */
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-item {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .stats {
        grid-template-columns: 1fr;
    }

    .achievement-image {
        height: 240px;
        /* Increased for small mobile */
    }
}

/* Process Section */
.process {
    padding: 80px 0;
    background: #f8f9fa;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    position: relative;
}

.step-number {
    background: #2c5aa0;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #2c5aa0;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: #666;
}

.testimonial-author {
    font-weight: bold;
    color: #2c5aa0;
}

.testimonial-company {
    font-size: 0.9rem;
    color: #888;
}

/* Custom Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Custom Popup Container */
.custom-popup {
    background: #fff;
    border-radius: 20px;
    padding: 0;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(44, 90, 160, 0.3);
    transform: scale(0.7) translateY(50px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    position: relative;
}

.popup-overlay.show .custom-popup {
    transform: scale(1) translateY(0);
}

/* Popup Header */
.popup-header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e4080 100%);
    color: white;
    padding: 25px 30px;
    text-align: center;
    position: relative;
}

.popup-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.popup-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
    position: relative;
    z-index: 1;
}

.popup-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Popup Content */
.popup-content {
    padding: 30px;
    text-align: center;
}

.popup-message {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Popup Actions */
.popup-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.popup-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popup-btn.primary {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e4080 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.popup-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.4);
}

.popup-btn.secondary {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e9ecef;
}

.popup-btn.secondary:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

/* Success Popup Specific Styles */
.popup-success .popup-icon {
    color: #28a745;
}

.popup-success .popup-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

/* Error Popup Specific Styles */
.popup-error .popup-icon {
    color: #dc3545;
}

.popup-error .popup-header {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

/* Animation for success checkmark */
@keyframes checkmark {
    0% {
        transform: scale(0) rotate(45deg);
    }

    50% {
        transform: scale(1.2) rotate(45deg);
    }

    100% {
        transform: scale(1) rotate(45deg);
    }
}

.popup-success .popup-icon {
    animation: checkmark 0.6s ease-in-out 0.3s both;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .custom-popup {
        width: 95%;
        margin: 20px;
    }

    .popup-header {
        padding: 20px;
    }

    .popup-content {
        padding: 25px 20px;
    }

    .popup-actions {
        flex-direction: column;
    }

    .popup-btn {
        width: 100%;
    }
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #2c5aa0 0%, #2d5c98 50%, #36506a 100%);
    color: white;
    position: relative;
    overflow: hidden;

}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1.5" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.6;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    position: relative;
    z-index: 2;
}

.contact-info {
    position: relative;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -15px;
    bottom: -20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);

}

.contact-info h3 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, #e6f2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.8rem;
    font-size: 1.1rem;
    padding: 15px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    border-left: 4px solid #4fc3f7;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 2;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-item i {
    font-size: 1.5rem;
    margin-right: 1.2rem;
    width: 25px;
    color: #4fc3f7;
    text-shadow: 0 0 10px rgba(79, 195, 247, 0.5);
}

.contact-form {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4fc3f7, #29b6f6, #0288d1);
}

.contact-form h3 {
    color: #2c5aa0;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c5aa0;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(44, 90, 160, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4fc3f7;
    box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.2);
    background: white;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, #2c5aa0, #1e3a5f);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #2d6c89, #1b76a1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.3);
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
}

/* Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}