 *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: animated;
}

html,body{
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: transparent;
    backdrop-filter: blur(0);
    z-index: 1000;
    transition: all 0.4s ease;
}

.navbar.sticky {
    background: rgba(26, 35, 126, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(26, 35, 126, 0.3);
    padding: 1rem 5%;
}

.navbar.scrolled {
    background: rgba(26, 35, 126, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(26, 35, 126, 0.2);
    padding: 1rem 5%;
}

.logo {
    position: relative;
    transition: all 0.3s ease;
}

.logo img {
    height: 85px;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1);
}

/* Fire Effect for 'a' icon */
.logo::before {
    content: '';
    position: absolute;
    top: 25%;
    left: 18%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: radial-gradient(circle at center, 
        rgba(255, 255, 0, 0.9) 0%,
        rgba(255, 165, 0, 0.7) 30%,
        rgba(255, 69, 0, 0.5) 60%,
        transparent 100%);
    filter: blur(4px);
    animation: fireGlow 2s ease-in-out infinite;
    z-index: -1;
}

/* Smoke Effect */
.logo::after {
    content: '';
    position: absolute;
    top: 21%;
    left: 21%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: radial-gradient(circle at center,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(200, 200, 200, 0.6) 30%,
        rgba(150, 150, 150, 0.4) 60%,
        transparent 100%);
    filter: blur(3px);
    animation: smokeRise 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes fireGlow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.9;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.7;
    }
}

@keyframes smokeRise {
    0% {
        transform: translateX(-50%) translateY(0) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translateX(-50%) translateY(-20px) scale(1.5);
        opacity: 0;
    }
}

/* Multiple Smoke Particles */
.logo .smoke-particle {
    position: absolute;
    top: 30%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle at center,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(200, 200, 200, 0.6) 30%,
        rgba(150, 150, 150, 0.4) 60%,
        transparent 100%);
    filter: blur(2px);
    animation: smokeRise 3s ease-in-out infinite;
}

.logo .smoke-particle:nth-child(1) {
    left: 15%;
    animation-delay: 0.5s;
}

.logo .smoke-particle:nth-child(2) {
    left: 16%;
    animation-delay: 1s;
}

.logo .smoke-particle:nth-child(3) {
    left: 17%;
    animation-delay: 1.5s;
}

.logo.animate img {
    animation: none;
}

.navbar.sticky .logo img {
    animation: none;
}

.logo:hover img {
    transform: none;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 2rem;
    transition: all 0.4s ease;
}

.nav-links li {
    list-style: none;
    position: relative;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after {
    width: 100%;
}

/* .admin-icon {
    color: rgb(91, 82, 126);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.admin-icon:hover {
    color: #00cec9;
    transform: scale(1.2);
} */

/* Mobile Menu Styles */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 0.5rem;
}

.menu-toggle.open {
    color: #00cec9;
    transform: rotate(90deg);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(26, 35, 126, 0.95);
    backdrop-filter: blur(10px);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    color: #fff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border-left: 3px solid transparent;
}

.dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left: 3px solid #fff;
    padding-left: 2rem;
}

/* Add icons to dropdown items */
.dropdown-content a:nth-child(1)::before {
    content: '\f0c1';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    color: #00cec9;
}

.dropdown-content a:nth-child(2)::before {
    content: '\f0b1';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    color: #00cec9;
}

.dropdown-content a:nth-child(3)::before {
    content: '\f013';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    color: #00cec9;
}

.dropdown-content a:nth-child(4)::before {
    content: '\f0c7';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    color: #00cec9;
}

/* About Dropdown Specific */
/* .about-dropdown .dropdown-content {
    min-width: 250px;
}

.about-dropdown .dropdown-content a {
    padding: 0.8rem 1.5rem;
} */

/* Mobile Responsive Dropdown */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(26, 35, 126, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transition: all 0.3s ease-in-out;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1rem 0;
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateX(-20px);
        transition: all 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links li:nth-child(4) { transition-delay: 0.4s; }
    .nav-links li:nth-child(5) { transition-delay: 0.5s; }

    .dropdown {
        width: 100%;
    }

    .dropdown > a {
    width: 100%;
        display: block;
        padding: 1rem 2rem;
    }

    .dropdown-content {
        position: static;
        background: rgba(255, 255, 255, 0.1);
        width: 90%;
        margin: 0.5rem auto;
        padding: 0.5rem 0;
        border-radius: 8px;
        display: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    .dropdown.active .dropdown-content {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-content a {
        padding: 0.8rem 2rem;
        color: #fff;
        opacity: 0.9;
        text-align: center;
    }

    .dropdown-content a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #00cec9;
    }

    /* Prevent hover behavior on mobile */
    .dropdown:hover .dropdown-content {
    display: none; 
        opacity: 0;
        visibility: hidden;
    }

    .dropdown.active .dropdown-content {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    /* Ensure links are clickable */
    .nav-links a {
        display: block;
        padding: 1rem 2rem;
        width: 100%;
    }

    /* Remove hover effects that don't work well on mobile */
    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover::after {
        width: 0;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .nav-links a:hover {
        background: none;
    }

    .dropdown-content a:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .nav-links a::after {
        display: none;
    }
}

/* Landscape Mode Optimizations */
@media (max-height: 500px) and (orientation: landscape) {
    .nav-links {
        height: 100vh;
        overflow-y: scroll;
        padding-bottom: 4rem;
    }
}

/* Logo Animation */
@keyframes logoSpin {
    0% { transform: none; }
    100% { transform: none; }
}

@keyframes logoBounce {
    0%, 100% { transform: none; }
    50% { transform: none; }
}

/* Hero Section Styles */
/* #hero-video {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#heroPlayer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 2;
} */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.slides {
    display: flex;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
} */

.hero-content {
    position: relative;
    text-align: center;
    color: white;
    z-index: 10;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    width: 80%;
    max-width: 800px;
    /* background: rgba(26, 35, 126, 0.7); */
    /* padding: 3rem; */
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(26, 35, 126, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0 auto;
}

 .hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    padding-bottom: 1rem;
} 

.hero-content h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

.hero-content .btn {
    background: #fff;
    color: #1a237e;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: inline-block;
    text-decoration: none;
    border-radius: 30px;
}

.hero-content .btn:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        width: 90%;
        padding: 2rem;
        margin: 0 1rem;
}

.hero-content h1 {
    font-size: 2.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    }

    .hero-content .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #f8f9fa;
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 0 2rem;
    perspective: 1000px;
}

.about-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    transform: translateX(-100%);
    opacity: 0;
    transition: all 0.8s ease;
    transform-style: preserve-3d;
}

.about-image.active {
    transform: translateX(0);
    opacity: 1;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.about-image:hover {
    transform: rotateY(10deg);
}

.about-text {
    flex: 1;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.8s ease 0.2s;
    animation: slideIn 1s ease;
}

.about-text.active {
    transform: translateX(0);
    opacity: 1;
}

.About-heading {
    font-size: 2.5rem;
    color: #1a237e;
    margin-bottom: 1.5rem;
    position: relative;
}

.About-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: #00cec9;
}

.about-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.about-text p.active {
    transform: translateY(0);
    opacity: 1;
}

.btn.animate-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #00cec9;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
}

.btn.animate-button.active {
    transform: translateY(0);
    opacity: 1;
}

.btn.animate-button:hover {
    background: #1a237e;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        padding: 0 1rem;
    }
    
    .about-image {
        width: 100%;
        height: 400px;
    }
    
    .about-image img {
        height: 400px;
    }
    
    .about-text {
        text-align: center;
    }
    
    .About-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@keyframes fadeInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: #3949ab; /* Lighter royal blue */
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(57, 73, 171, 0.1), rgba(63, 81, 181, 0.1));
    z-index: 0;
}

.service-heading {
    text-align: center;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 3rem;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.service-heading::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #00cec9;
}

.service-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.service-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(50px);
    opacity: 0;
    transform-style: preserve-3d;
    perspective: 1000px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card.visible {
    transform: translateY(0);
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: #00cec9;
    background: rgba(255, 255, 255, 0.2);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.9);
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-card h3 {
    color: #fff;
    padding: 1.5rem 1.5rem 0;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.service-card:hover h3 {
    color: #00cec9;
}

.service-card p {
    color: rgba(255, 255, 255, 0.9);
    padding: 0 1.5rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.service-card .btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #00cec9;
    color: #3949ab;
    text-decoration: none;
    border-radius: 30px;
    margin: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-weight: 600;
    text-shadow: none;
}

.service-card .btn:hover {
    background: #fff;
    color: #3949ab;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 206, 201, 0.3);
}

.service-card .btn::after {
    content: '→';
    position: absolute;
    right: -20px;
    transition: all 0.3s ease;
}

.service-card .btn:hover::after {
    right: 15px;
}

/* Service Slider Navigation */
.service-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

.prev-btn,
.next-btn {
    position: absolute;
    width: 40px;
    height: 40px;
    background: #00cec9;
    color: #3949ab;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    font-weight: bold;
}

.prev-btn {
    left: -20px;
}

.next-btn {
    right: -20px;
}

.prev-btn:hover,
.next-btn:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 206, 201, 0.3);
}

.prev-btn:disabled,
.next-btn:disabled {
    background: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
    transform: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-container {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .service-heading {
        font-size: 2rem;
    }

    .service-card {
        margin-bottom: 2rem;
    }

    .service-slider-container {
        padding: 0 20px;
    }

    .prev-btn,
    .next-btn {
        width: 35px;
        height: 35px;
    }
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(26, 35, 126, 0.05) 0%, rgba(0, 206, 201, 0.05) 100%);
    z-index: 0;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.contact-form {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateX(-50px);
    opacity: 0;
    transition: all 0.6s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form.active {
    transform: translateX(0);
    opacity: 1;
}

.contact-form h2 {
    color: #1a237e;
    margin-bottom: 2rem;
    font-size: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.contact-form h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #00cec9;
    border-radius: 2px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    color: #333;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #00cec9;
    box-shadow: 0 0 15px rgba(0, 206, 201, 0.2);
    transform: translateY(-2px);
    outline: none;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
    min-height: 100px;
    max-height: 300px;
}

.contact-form .btn {
    background: #1a237e;
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.contact-form .btn:hover {
    background: #00cec9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 206, 201, 0.3);
}

.contact-info {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateX(50px);
    opacity: 0;
    transition: all 0.6s ease 0.2s;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info.active {
    transform: translateX(0);
    opacity: 1;
}

.contact-info h2 {
    color: #1a237e;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #00cec9;
    border-radius: 2px;
}

.contact-info p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info i {
    color: #1a237e;
    font-size: 1.2rem;
    min-width: 24px;
}

.contact-info a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: #00cec9;
}

.map {
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.map:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Form Feedback Styles */
.form-group {
    position: relative;
}

.form-feedback {
    position: absolute;
    bottom: -20px;
    left: 10px;
    font-size: 0.85rem;
    color: #dc3545;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.form-group.error .form-feedback {
    opacity: 1;
    transform: translateY(0);
}

.form-group.error input,
.form-group.error textarea {
    border-color: #dc3545;
}

.form-group.success input,
.form-group.success textarea {
    border-color: #28a745;
}

/* Loading Animation for Submit Button */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .contact-form,
    .contact-info {
        transform: none;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 3rem 0;
}

.contact-container {
        padding: 0 1rem;
    }

    .contact-form,
    .contact-info {
        padding: 1.5rem;
    }

    .contact-form h2,
    .contact-info h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
    }

    .map {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .contact-form h2,
.contact-info h2 {
        font-size: 1.5rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.7rem 1rem;
    }

    .contact-form .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .contact-info p {
        font-size: 0.95rem;
    }

    .map {
        height: 180px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .contact-form input:focus,
    .contact-form textarea:focus {
        transform: none;
    }

    .map:hover {
        transform: none;
    }
}

/* Footer Section */
.footer {
    background: #1a237e;
    color: #fff;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(26, 35, 126, 0.1), rgba(40, 53, 147, 0.1));
    z-index: 0;
}

.col-1, .col-2, .col-3 {
    padding: 1rem;
    position: relative;
    z-index: 1;
}

.footer h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

.footer h3:hover::after {
    width: 100px;
}

.footer a {
    color: #fff;
    text-decoration: none;
    display: block;
    margin: 0.8rem 0;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.footer a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

.footer a:hover {
    color: #fff;
    transform: translateX(10px);
}

.footer a:hover::after {
    width: 100%;
}

/* Newsletter Form */
.col-2 form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.col-2 input {
    padding: 0.8rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
}

.col-2 input:focus {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.15);
    outline: none;
}

.col-2 button {
    padding: 0.8rem 1.5rem;
    background: #fff;
    color: #1a237e;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.col-2 button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-icons a {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.social-icons a:hover {
    background: #fff;
    color: #1a237e;
    transform: translateY(-5px) rotate(360deg);
}

/* Copyright Section */
.copyright {
    background: #1a237e;
    padding: 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.copyright::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.5s;
}

.copyright:hover::before {
    left: 100%;
}

.copyright p {
    color: #fff;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer a:hover {
        transform: translateX(0);
    }

    .social-icons {
        justify-content: center;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Modern Animations and Effects */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes slideIn {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeInUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #00cec9, #007bff);
    transform-origin: 0%;
    z-index: 1000;
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading::after {
    content: '';
    width: 50px;
    height: 50px;
    border: 5px solid #1a1a1a;
    border-top: 5px solid #00cec9;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .service-card {
        transform: none !important;
    }
    
    .about-image {
        transform: none !important;
    }
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Enhanced Images */
img {
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.05);
}

/* Parallax Effect */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Enhanced Form Elements */
input, textarea, select {
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    border-color: #00cec9;
    box-shadow: 0 5px 15px rgba(0, 206, 201, 0.2);
}

/* Loading Animation for Images */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-load.loaded {
    opacity: 1;
}

/* Newsletter Form Enhancement */
.col-2 form {
    position: relative;
    overflow: hidden;
}

.col-2 input {
    transition: all 0.3s ease;
}

.col-2 input:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.col-2 button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.col-2 button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Enhanced Copyright Section */
.copyright {
    position: relative;
    overflow: hidden;
}

.copyright::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.5s;
}

.copyright:hover::before {
    left: 100%;
}

/* Service Slider Navigation */
.service-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.service-container {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
}

.service-container::-webkit-scrollbar {
    display: none;
}

.service-card, .service-box {
    flex: 0 0 auto;
    width: calc(33.333% - 1.33rem);
    min-width: 280px;
    scroll-snap-align: start;
}

.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

.prev-btn,
.next-btn {
    position: absolute;
    width: 40px;
    height: 40px;
    background: #00cec9;
    color: #3949ab;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.prev-btn {
    left: -20px;
}

.next-btn {
    right: -20px;
}

.prev-btn:hover,
.next-btn:hover {
    background: #fff;
    transform: scale(1.1);
}

.prev-btn:disabled,
.next-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 768px) {
    .service-slider-container {
        padding: 0 20px;
    }

    .service-card, .service-box {
        width: calc(100% - 2rem);
        min-width: 260px;
    }

    .prev-btn,
    .next-btn {
        width: 35px;
        height: 35px;
    }
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .about-container {
        flex-direction: column;
        padding: 2rem;
    }

    .about-image, .about-text {
        width: 100%;
    padding: 0;
}

    .about-image {
        margin-bottom: 2rem;
    }

    .service-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-container {
        flex-direction: column;
        padding: 2rem;
    }

    .contact-form, .contact-info {
        width: 100%;
        padding: 0;
    }

    .contact-info {
        margin-top: 2rem;
    }

    .footer {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Navbar */
    .navbar {
        padding: 1rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(26, 35, 126, 0.95);
        backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
        padding: 2rem 0;
        transition: all 0.3s ease-in-out;
        overflow-y: auto;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .dropdown-content {
        position: static;
        background: rgba(255, 255, 255, 0.1);
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 12px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        pointer-events: none;
        box-shadow: none;
    }

    .dropdown.active .dropdown-content {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .dropdown-content a {
        color: #fff;
        padding: 0.8rem 1.5rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .dropdown-content a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #00cec9;
    }

    /* Hero Section */
    .hero {
        height: 100vh;
        margin-top: 0;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    /* About Section */
    .about {
        padding: 3rem 1rem;
    }

    .about-container {
        padding: 1rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    /* Services Section */
    .service-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .service-card {
        margin: 1rem 0;
    }

    .service-card img {
        height: 200px;
    }

    /* Contact Section */
    .contact {
        padding: 3rem 1rem;
    }

    .contact-container {
        padding: 1rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.8rem;
    }

    .contact-info h2 {
        font-size: 1.8rem;
    }

    .contact-info p {
        font-size: 1rem;
    }

    .map {
        height: 200px;
    }

    /* Footer */
    .footer {
        grid-template-columns: 1fr;
        padding: 3rem 1rem;
        text-align: center;
    }

    .col-1, .col-2, .col-3 {
        padding: 1rem;
    }

    .social-icons {
    justify-content: center;
    }

    /* Newsletter Form */
    .col-2 form {
        flex-direction: column;
        gap: 1rem;
    }

    .col-2 input {
        width: 100%;
    }

    .col-2 button {
        width: 100%;
    }

    /* Copyright */
    .copyright {
        padding: 1rem;
        text-align: center;
    }

    /* General Text Adjustments */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }

    /* Button Adjustments */
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    /* Form Adjustments */
    input, textarea {
        font-size: 1rem;
        padding: 0.8rem;
    }

    /* Animation Adjustments */
    .animate {
        opacity: 1;
        transform: none;
    }

    .animate-left, .animate-right {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .contact-form h2 {
        font-size: 1.8rem;
    }

    .footer h3 {
        font-size: 1.3rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .nav-links a::after {
        display: none;
    }

    .service-card:hover {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }
}

/* Landscape Mode Optimizations */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
    }

    .nav-links {
        height: auto;
        max-height: 80vh;
        overflow-y: auto;
    }
}

/* High-DPI Screen Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero {
        background-size: cover;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero,
    .footer,
    .copyright {
        display: none;
    }

    body {
        color: #000;
    }

    .about-container,
    .service-container,
    .contact-container {
        display: block;
        padding: 0;
    }

    .about-image img,
    .service-card img {
        max-width: 100%;
        height: auto;
    }
}

/* Form Message Styles */
.form-message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.form-message.success {
    background-color: rgba(72, 187, 120, 0.1);
    color: #2f855a;
    border: 1px solid #48bb78;
    opacity: 1;
    transform: translateY(0);
}

.form-message.error {
    background-color: rgba(245, 101, 101, 0.1);
    color: #c53030;
    border: 1px solid #f56565;
    opacity: 1;
    transform: translateY(0);
}

/* Why Choose KPEC Section */
.why-choose-us {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Background Animation */
.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

.particle:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: -5s;
    width: 150px;
    height: 150px;
}

.particle:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: -10s;
    width: 120px;
    height: 120px;
}

.particle:nth-child(4) {
    top: 50%;
    right: 20%;
    animation-delay: -15s;
    width: 80px;
    height: 80px;
}

.particle:nth-child(5) {
    bottom: 10%;
    right: 10%;
    animation-delay: -20s;
    width: 100px;
    height: 100px;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(30px, 30px) rotate(180deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-header h2 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #00cec9, #64b5f6);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.features-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.features-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    width: 100%;
}

.feature-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 0; /* Prevents flex items from overflowing */
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-card:hover::before {
    transform: translateX(100%);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00cec9, #64b5f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    filter: blur(10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon::after {
    opacity: 0.5;
    transform: scale(1.2);
}

.feature-icon i {
    font-size: 24px;
    color: white;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.2);
}

.feature-card h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feature-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #00cec9, #64b5f6);
    transition: width 0.3s ease;
}

.feature-card:hover h3::after {
    width: 60px;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: -webkit-box;
    /* -webkit-line-clamp: 4; */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feature-card:hover p {
    color: #fff;
}

.section-footer {
    text-align: center;
    max-width: 800px;
    margin: 60px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.section-footer p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .features-container {
        padding: 0 30px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
    }
    
    .feature-card p {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .why-choose-us {
        padding: 60px 15px;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .features-container {
        padding: 0 20px;
    }

    .features-grid {
        flex-direction: column;
        gap: 20px;
    }

    .feature-card {
        padding: 25px 20px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
    }

    .feature-icon i {
        font-size: 20px;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }

    .feature-card p {
        font-size: 0.95rem;
        /* -webkit-line-clamp: 3; */
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1.2rem;
    }

    .features-container {
        padding: 0 15px;
    }

    .feature-card {
        padding: 20px 15px;
    }
}
