/* Fix Flip Card Link Click Issues */
.simple-flip-card {
    position: relative;
    transform-style: preserve-3d;
    width: 100%;
    height: 260px;
    perspective: 1200px;
    cursor: pointer;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.simple-flip-card:hover {
    transform: translateY(-10px) rotateY(180deg);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
    transition: 0.6s ease;
}

.simple-flip-card .front-content,
.simple-flip-card .back-content {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.7s ease;
    overflow: hidden;
}

/* Front side should NOT block clicks */
.simple-flip-card .front-content {
    pointer-events: none !important;
    background: #fff !important;
    z-index: 1;
    transform: rotateY(0deg);
}

/* Back side should allow clicks */
.simple-flip-card .back-content {
    transform: rotateY(180deg);
    pointer-events: auto !important;
    z-index: 2;
    background: #0b2a4a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.simple-flip-card:hover .front-content {
    transform: rotateY(180deg);
}

.simple-flip-card:hover .back-content {
    transform: rotateY(0deg);
}

/* IMAGE CONTAINER */
.service-grid-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* IMAGE FULL FIT */
.service-grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

/* IMAGE HOVER ZOOM */
.simple-flip-card:hover .service-grid-image img {
    transform: scale(1.12);
}

/* TITLE OVER IMAGE */
.service-grid-title {
    position: absolute;
    bottom: 0;
    width: 100%;
    margin: 0;
    padding: 16px;
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
}

/* BACK CONTENT */
.service-grid-content {
    text-align: center;
}

.service-grid-title-back {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-description {
    font-size: 26px;
    margin-bottom: 15px;
}

/* LINK */
.service-grid-link {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
}

.service-grid-link:hover {
    text-decoration: underline;
}

/* MOBILE: Disable flip */
@media (max-width: 768px) {
    .simple-flip-card {
        height: 250px;
    }
    
    .simple-flip-card:hover .front-content,
    .simple-flip-card:hover .back-content {
        transform: none;
    }
}

/* ================================
   MEGA MENU MAIN WRAPPER
================================ */
.navbar-nav .dropdown-menu.mega-menu {
    background: #131c58;
    padding: 40px 20px;
    max-height: 80vh;
    overflow-y: auto;
}

/* Mega menu scroll container */
.mega-menu-scroll {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 10px;
}

/* Category columns - responsive grid */
.mega-menu .category-column {
    margin-bottom: 25px;
    padding: 0 15px;
}

/* Category title styling */
.mega-menu .category-title {
    color: #fff;
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.mega-menu .category-title a {
    padding-left: 15px;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.mega-menu .category-title a:hover {
    color: #2ea7ff;
}

/* Subcategory list - FULL LIST visible */
.mega-menu .subcategory-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.mega-menu .subcategory-item {
    margin-bottom: 5px;
    padding-left: 7px;
}

/* Subcategory links - FULL VISIBILITY */
.mega-menu .subcategory-link {
    display: flex;
    align-items: center;
    color: #d2d7ff;
    font-size: 15px;
    padding: 8px 10px;
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
}

.mega-menu .subcategory-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-left-color: #2ea7ff;
    padding-left: 15px;
    transform: translateX(5px);
}

.mega-menu .subcategory-link i {
    margin-right: 10px;
    font-size: 14px;
    color: #2ea7ff;
    transition: transform 0.3s;
}

.mega-menu .subcategory-link:hover i {
    transform: translateX(3px);
    color: #4ac0ff;
}

/* Desktop: 5 columns */
@media (min-width: 992px) {
    .mega-menu .row {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }
    
    .mega-menu .category-column {
        margin-bottom: 0;
    }
}

/* Tablet: 3 columns */
@media (max-width: 991px) and (min-width: 768px) {
    .mega-menu .row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .navbar-nav .dropdown-menu.mega-menu {
        padding: 25px 15px;
        max-height: 70vh;
    }
}

/* Mobile: 1 column with full width */
@media (max-width: 767px) {
    .navbar-nav .dropdown-menu.mega-menu {
        padding: 15px 10px;
        max-height: 60vh;
        position: fixed !important;
        top: 60px !important;
        left: 10px !important;
        right: 10px !important;
        width: calc(100% - 20px) !important;
    }
    
    .mega-menu .row {
        display: block;
    }
    
    .mega-menu .category-column {
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 15px;
    }
    
    .mega-menu .category-column:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }
    
    .mega-menu .category-title {
        font-size: 16px;
        padding-left: 15px;
        margin-bottom: 12px;
    }
    
    .mega-menu .subcategory-link {
        font-size: 14px;
        padding: 7px 10px;
        margin-bottom: 5px;
    }
    
    .mega-menu .subcategory-link i {
        font-size: 13px;
        margin-right: 8px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .navbar-nav .dropdown-menu.mega-menu {
        top: 70px !important;
        left: 5px !important;
        right: 5px !important;
        width: calc(100% - 10px) !important;
    }
    
    .mega-menu .subcategory-link {
        font-size: 13px;
        padding: 6px 8px;
    }

   
    .project-section .container {
        flex-direction: column;
        text-align: center;
        gap: 30px; /* better spacing on mobile */
    }

    .project-form,
    .project-image {
        width: 100% !important; /* force full width */
    }

    .project-image img {
        max-width: 100% !important;
    }
}

/* ================================
   ENHANCED SLIDER STYLES
================================ */

/* Enhanced Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0 !important;
}

/* Modern Carousel Container */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    transform: scale(1.05);
}

.carousel-fade .carousel-item.active {
    opacity: 1;
    transform: scale(1);
}

/* Enhanced Slide Background */
.hero-slide {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed;
}

/* Parallax Effect for Desktop */
@media (min-width: 992px) {
    .hero-slide {
        background-attachment: fixed;
    }
}

/* Enhanced Overlay with Gradient */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Professional Dark Blue Gradient */
    background: linear-gradient(135deg, 
        rgba(13, 36, 99, 0.85) 0%,        /* Deep corporate blue */
        rgba(8, 22, 62, 0.75) 50%,        /* Darker shade */
        rgba(13, 36, 99, 0.85) 100%);     /* Deep corporate blue */
    z-index: 1;
    backdrop-filter: blur(2px);
}

/* Content Container */
.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Enhanced Title Animation */
.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #fff 0%, #2ea7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.3),
        0 4px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(50px);
    animation: slideUpBounce 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 0.3s;
}

/* Enhanced Subtitle */
.hero-subtitle {
    font-size: 1.4rem;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 700px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFade 1s ease-out forwards;
    animation-delay: 0.6s;
}

/* Enhanced Button */
.hero-buttons {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFade 1s ease-out forwards;
    animation-delay: 0.9s;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #1f989e, #2fbcc3 100%);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 18px 40px;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 10px 30px rgba(255, 107, 0, 0.3),
        0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-buttons .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1f989e 0%, #2fbcc3 100%);
    transition: all 0.6s ease;
    z-index: -1;
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(255, 107, 0, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn-primary:hover::before {
    left: 0;
}

.hero-buttons .btn-primary:active {
    transform: translateY(-2px) scale(1.02);
}

/* Enhanced Carousel Indicators */
.carousel-indicators {
    bottom: 40px;
    z-index: 3;
}

.carousel-indicators button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: transparent;
    margin: 0 8px;
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.carousel-indicators button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: #1f989e;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.carousel-indicators button.active {
    border-color: #1f989e;
    opacity: 1;
    transform: scale(1.3);
}

.carousel-indicators button.active::before {
    width: 8px;
    height: 8px;
    background: #1f989e;
}

.carousel-indicators button:hover {
    opacity: 1;
    transform: scale(1.2);
}

/* Enhanced Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 80px;
    height: 80px;
    background: rgba(19, 28, 88, 0.7);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 25px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0.8;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(19, 28, 88, 0.9);
    transform: translateY(-50%) scale(1.15);
    opacity: 1;
    border-color: rgba(255, 107, 0, 0.5);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 35px;
    height: 35px;
    background-size: 100%;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    transform: scale(1.2);
}

/* Enhanced Animations */
@keyframes slideUpBounce {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    70% {
        transform: translateY(-10px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Floating Button Icon */
.hero-buttons .btn-primary i {
    animation: float 2s ease-in-out infinite;
    animation-delay: 1.2s;
}

/* Progress Bar for Slides */
.carousel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 3;
}

.carousel-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, rgb(64, 205, 240), rgb(114, 229, 252));
    transition: width 5s linear;
}

.carousel-item.active .carousel-progress-bar {
    width: 100%;
}

/* Slide Counter */
.slide-counter {
    position: absolute;
    bottom: 80px;
    right: 30px;
    color: white;
    font-size: 0.9rem;
    z-index: 3;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    border-radius: 20px;
    opacity: 0.8;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.2rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .carousel-control-prev,
    .carousel-control-next {
        width: 70px;
        height: 70px;
        margin: 0 20px;
    }
}

@media (max-width: 992px) {
    .hero-slide {
        min-height: 80vh;
        background-attachment: scroll !important;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
        max-width: 600px;
    }
    .hero-content {
        padding: 40px 20px;
    }
    .carousel-control-prev,
    .carousel-control-next {
        width: 60px;
        height: 60px;
        margin: 0 15px;
    }
}

@media (max-width: 768px) {
    .hero-slide {
        min-height: 70vh;
    }
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 1px;
        margin-bottom: 20px;
    }
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
        line-height: 1.6;
    }
    .hero-buttons .btn-primary {
        padding: 16px 35px;
        font-size: 1rem;
    }
    .carousel-indicators {
        bottom: 25px;
    }
    .carousel-indicators button {
        width: 12px;
        height: 12px;
        margin: 0 6px;
    }
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
        margin: 0 10px;
    }
    .slide-counter {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-slide {
        min-height: 65vh;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
    
    .project-section .container {
        flex-direction: column;
        text-align: center;
        gap: 30px; /* better spacing on mobile */
    }

    .project-form,
    .project-image {
        width: 100% !important; /* force full width */
    }

    .project-image img {
        max-width: 100% !important;
    }
}

/* Accessibility Improvements */
.carousel-control-prev:focus,
.carousel-control-next:focus {
    outline: 3px solid #2ea7ff;
    outline-offset: 3px;
}

.carousel-indicators button:focus {
    outline: 2px solid #2ea7ff;
    outline-offset: 2px;
}

/* Additional custom styles for the modern design */
:root {
    --primary: #4361ee;
    --primary-soft: rgba(67, 97, 238, 0.1);
    --success-soft: rgba(40, 167, 69, 0.1);
    --warning-soft: rgba(255, 193, 7, 0.1);
    --info-soft: rgba(23, 162, 184, 0.1);
}

.stat-card-modern {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    border: 1px solid #f0f0f0;
}

.stat-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
}

.feature-highlight-modern {
    transition: transform 0.3s ease;
}

.feature-highlight-modern:hover {
    transform: translateX(5px);
}

.industry-badges .badge {
    transition: all 0.3s ease;
}

.industry-badges .badge:hover {
    background-color: var(--primary) !important;
    color: white !important;
    transform: scale(1.05);
}

.contact-item-modern {
    transition: transform 0.3s ease;
}

.contact-item-modern:hover {
    transform: translateX(10px);
}

.cert-ring {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.rounded-4 {
    border-radius: 20px !important;
}

.rounded-5 {
    border-radius: 30px !important;
}

.btn-primary {
    background: linear-gradient(135deg, #1f989e 0%, #2fbcc3 100%);
    border: none;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #1f989e 0%, #2fbcc3 100%);
    color: white;
    border: none;
}

/* Professional Section Styles */
.services-provide-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #f1f4ff 100%);
    position: relative;
    overflow: hidden;
}

.services-provide-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="%23667eea" opacity="0.02"/></svg>');
    background-size: cover;
    pointer-events: none;
}

/* Section Header */
.section-header {
    position: relative;
}

.section-subtitle {
    font-size: 0.9rem;
    letter-spacing: 2px;
}
 .title-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #1f989e 0%, #2fbcc3 100%);
    border-radius: 2px;
}

.title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    max-width: 200px;
}

.divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgb(7, 205, 245), transparent);
}

.divider-icon {
    color: #667eea;
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

/* Professional Flip Card */
.professional-flip-card {
    height: 380px;
    perspective: 1500px;
    position: relative;
    cursor: pointer;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.professional-flip-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.flip-card-front {
    transform: rotateY(0deg);
}

.flip-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, rgb(12, 0, 70) 0%, rgb(4, 8, 41) 100%);
    color: white;
    padding: 25px;
}

.professional-flip-card:hover .flip-card-front {
    transform: rotateY(180deg);
}

.professional-flip-card:hover .flip-card-back {
    transform: rotateY(0deg);
}

/* Front Side */
.service-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.professional-flip-card:hover .service-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
}

.service-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgb(12, 0, 70) 0%, rgb(4, 8, 41) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    z-index: 2;
}

.front-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    z-index: 2;
}

.service-badge {
    position: absolute;
    top: -40px;
    left: 20px;
    background: linear-gradient(135deg, rgb(14, 191, 194) 0%, #2fbcc3 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.service-title-front .title-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: block;
    line-height: 1.3;
    margin-bottom: 10px;
}

.service-stats {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #e8e8e8;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.stat-item i {
    color: #4cd964;
}

/* Back Side */
.back-content-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.back-header {
    text-align: center;
    margin-bottom: 20px;
}

.back-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.8rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.service-title-back {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    color: white;
}

.service-description-wrapper {
    flex: 1;
}

.service-description {
    color: #e8e8e8;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.service-features li {
    color: #e8e8e8;
    margin-bottom: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li i {
    color: #4cd964;
    font-size: 0.8rem;
}

.service-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.service-link {
    background: linear-gradient(135deg, #4cd964 0%, #5ac8fa 100%);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.service-link:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(76, 217, 100, 0.3);
}

.service-contact {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-contact:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(15deg);
}

/* Call to Action */
.all-services-cta {
    background: linear-gradient(135deg, rgb(12, 0, 70) 0%, rgb(4, 8, 41) 100%);
    padding: 40px;
    border-radius: 15px;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.all-services-cta .btn-primary {
    background: white;
    color: #667eea;
    border: none;
    font-weight: 600;
    padding: 12px 30px;
}

.all-services-cta .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .professional-flip-card {
        height: 350px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .professional-flip-card {
        height: 320px;
    }
    
    .service-title-front .title-text {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .professional-flip-card {
        height: 300px;
    }
    
    .front-content {
        padding: 20px;
    }
    
    .flip-card-back {
        padding: 20px;
    }
}

/* Why Section */
.why-section {
    background:#f5f7fa;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    padding: 40px 0;
}

.why-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 600px 600px, 600px 600px, 800px 800px, 700px 700px, 700px 700px;
    background-position: -100px -100px, 700px 500px, 300px 200px, 100px 400px, 500px 100px;
    z-index: 0;
    pointer-events: none;
}

.why-section .container {
    position: relative;
    z-index: 2;
}

.title {
    text-align: center;
    margin-bottom: 80px;
}

.title-tag {
    display: inline-block;
    background: rgba(47, 188, 195, 0.1);
    color: #2fbcc3;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(47, 188, 195, 0.3);
}

.title h2 {
    font-size: 48px;
    font-weight: 700;
    margin: 15px 0;
    background: linear-gradient(90deg, #fff, #2fbcc3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title .highlight {
    color: #2fbcc3;
    -webkit-text-fill-color: #2fbcc3;
}

.subtitle {
    color: #a0c8e6;
    font-size: 18px;
    max-width: 600px;
    margin: 20px auto 0;
    line-height: 1.6;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #2fbcc3, transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(47, 188, 195, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.card:hover::before {
    opacity: 1;
}

.card.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(47, 188, 195, 0.1), rgba(30, 57, 100, 0.3));
    border: 1px solid rgba(47, 188, 195, 0.2);
    padding: 40px;
}

.icon {
    width: 60px;
    height: 60px;
    background: rgba(47, 188, 195, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2fbcc3;
    margin-bottom: 25px;
    transition: all 0.3s;
}

.card:hover .icon {
    transform: scale(1.1);
    background: rgba(47, 188, 195, 0.2);
}

.icon svg {
    width: 28px;
    height: 28px;
}

.card-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #fff;
}

.card-content p {
    color: #d0e9f1;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 20px 0;
}

.learn-more {
    color: #2fbcc3;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.learn-more:hover {
    gap: 10px;
}

.cta-section {
    background: linear-gradient(135deg, rgba(47, 188, 195, 0.1), rgba(30, 57, 100, 0.2));
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

.cta-content h3 {
    font-size: 32px;
    margin: 0 0 20px 0;
    color: #fff;
}

.cta-content p {
    color: #a0c8e6;
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: #2fbcc3;
    color: #0a1929;
}

.btn-primary:hover {
    background: #26a8af;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(47, 188, 195, 0.3);
}

/* Blog Section */
.blog-section {
    background-color: #f8f9fa;
    padding: 5rem 0;
}

.blog-card {
    background: white;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 60px;
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
}

.category-badge {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
    color: #6c757d;
}

.blog-meta i {
    margin-right: 5px;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: #2fbcc3;
}

.blog-excerpt {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}
.blog-footer {
    border-top: 1px solid #eee;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more-btn {
    color: #2fbcc3;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: #2fbcc3;
    text-decoration: underline;
}

.read-more-btn i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more-btn:hover i {
    transform: translateX(5px);
}

.object-fit-cover {
    object-fit: cover;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-text-primary:hover {
    color: #007bff !important;
}

.transition-transform {
    transition: transform 0.3s ease;
}

.transition-all {
    transition: all 0.3s ease;
}

.btn-outline-primary:hover i {
    transform: translateX(5px);
}

.blog-overlay {
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.1) 100%);
}

/* Responsive Design */
@media (max-width: 992px) {
    .grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .title h2 {
        font-size: 40px;
    }
    
    .professional-flip-card {
        height: 350px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .why-section {
        padding: 60px 20px;
    }
    
    .title {
        margin-bottom: 50px;
    }
    
    .title h2 {
        font-size: 32px;
    }
    
    .card.featured {
        padding: 30px;
    }
    
   
    
    .cta-content h3 {
        font-size: 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .hero-slide {
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 1px;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
        line-height: 1.6;
    }
    
    .hero-buttons .btn-primary {
        padding: 16px 35px;
        font-size: 1rem;
    }
    
    .carousel-indicators {
        bottom: 25px;
    }
    
    .carousel-indicators button {
        width: 12px;
        height: 12px;
        margin: 0 6px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
        margin: 0 10px;
    }
    
    .slide-counter {
        display: none;
    }
    
    .professional-flip-card {
        height: 320px;
    }
    
    .service-title-front .title-text {
        font-size: 1.5rem;
    }
    
   
    
    .simple-flip-card {
        height: 250px;
    }
    
    .simple-flip-card:hover .front-content,
    .simple-flip-card:hover .back-content {
        transform: none;
    }
    
    .blog-section {
        padding: 3rem 0;
    }
    
    .blog-image {
        height: 200px;
    }
    
    .blog-content {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .grid {
        grid-template-columns: 1fr;
    }
    
    .title h2 {
        font-size: 28px;
    }
    
    .card {
        padding: 25px;
    }
    
    .hero-slide {
        min-height: 65vh;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
    
    .professional-flip-card {
        height: 300px;
    }
    
    .front-content {
        padding: 20px;
    }
    
    .flip-card-back {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .navbar-nav .dropdown-menu.mega-menu {
        top: 70px !important;
        left: 5px !important;
        right: 5px !important;
        width: calc(100% - 10px) !important;
    }
    
    .mega-menu .subcategory-link {
        font-size: 13px;
        padding: 6px 8px;
    }
}

/* Ripple effect */
.cta-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 10%, transparent 60%);
    animation: ripple 6s infinite linear;
    opacity: 0.5;
}

/* Animation keyframes */
@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.15;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.4;
    }
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}
/* Section Background */
.slider-section {
    padding: 80px 0;
    background: #f8f9fc;
}

/* Title Styling */
.slider-content {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #002b5c; /* Corporate navy tone */
}

/* Text Improvements */
.slider-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 18px;
}

/* Improve text alignment */
.text-justify {
    text-align: justify;
}

/* Image Styling */
.slider-image img {
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slider-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .slider-section {
        padding: 50px 0;
    }

    .slider-content {
        margin-bottom: 30px;
        text-align: center;
    }
}

.section-header {
    position: relative;
    text-align: center;
    margin-bottom: 4rem;
}

.section-header-content {
    position: relative;
    display: inline-block;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #2fbcc3;
    background: rgba(47, 188, 195, 0.1);
    padding: 8px 20px;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(47, 188, 195, 0.2);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #2fbcc3, transparent);
    top: 50%;
    transform: translateY(-50%);
}

.section-title::before {
    right: calc(100% + 20px);
}

.section-title::after {
    left: calc(100% + 20px);
}

.title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    max-width: 200px;
    margin: 0 auto;
}

.divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, #2fbcc3, transparent);
}

.divider-icon {
    color: #2fbcc3;
    font-size: 1rem;
    animation: spin 8s infinite linear;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* ---------------------------
   PROJECT SECTION
---------------------------- */

.project-section {
    padding: 40px 0;
    background: #fff;
}

.project-section .container {
    max-width: 1250px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;    /* 🔥 IMPORTANT for mobile responsiveness */
}

/* LEFT SIDE FORM */
.project-form {
    width: 50%;
    min-width: 300px;     /* 🔥 Prevents text breaking on small screens */
}

/* RIGHT SIDE IMAGE */
.project-image {
    width: 50%;
    min-width: 300px;     /* 🔥 Ensures proper stacking on mobile */
}

/* ---------------------------
   RESPONSIVE - MOBILE VIEW
---------------------------- */

@media (max-width: 768px) {

    .project-section {
        padding: 40px 0;
    }

    .project-section .container {
        flex-direction: column !important;   /* 🔥 Force stacking */
        text-align: center;
        gap: 30px;
    }

    .project-form,
    .project-image {
        width: 100% !important;              /* 🔥 Full width */
        text-align: center;
    }

    .project-image img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto;
    }

    .project-form h2 {
        font-size: 28px;                     /* Better for small screens */
    }

    .project-form form input,
    .project-form form select {
        font-size: 15px;
        padding: 14px;
    }

    .submit-btn {
        padding: 14px;
        font-size: 15px;
    }
}

.support-section {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 40px 20px;
}
.support-card {
    width: 330px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    background: #fff;
}
/* Top Bar */
.support-card .top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}
.card-red { background: #c62828; }
.card-blue { background: #0b60a9; }
.card-gray { background: #424446; }
/* Middle White Strip */
.support-card .middle {
    background: #ffffff;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #0a3967;
    border-top: 1px solid rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
/* Bottom Section */
.support-card .bottom {
    padding: 18px;
    font-size: 15px;
    color: #ffffff;
    background: inherit;
}
/* Icons */
.support-card svg {
    width: 26px;
    height: 26px;
}
.excellence-section {
    text-align: center;
}
.excellence-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0e2d55;
    margin-bottom: 18px;
}
/* Blur Bar */
.blur-banner {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 50px;
    color: #fff;
    font-size: 18px;
    font-weight: 500;

    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(30,70,120,0.4) 40%,
        rgba(30,70,120,0.6) 50%,
        rgba(30,70,120,0.4) 60%,
        rgba(255,255,255,0) 100%
    );

    backdrop-filter: blur(4px);
}
/* Bottom Section – now matches top background */
.support-card .bottom {
    padding: 18px;
    font-size: 15px;
    color: #ffffff;
    background: inherit;    /* ← THIS MAKES THE BOTTOM MATCH THE TOP COLOR */
    opacity: 0.95;
}
.support-cards {
    display: flex;
    justify-content: center;
    gap: 22px;
    padding: 40px 0;
}
/* GRADIENT EXACT MATCH */
.card.red  .card-top { background: linear-gradient(#c92a2a, #b02020); }
.card.blue .card-top { background: linear-gradient(#0a66b7, #084f8e); }
.card.gray .card-top { background: linear-gradient(#434649, #2f3133); }
/* MIDDLE WHITE STRIP */
.card-middle {
    background: #ffffff;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.card-middle .major {
    font-size: 20px;
    font-weight: 700;
    color: #0a3967;
}
.card-bottom {
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #ffffff;
}
/* GRADIENT SHADES MATCH EXACT */
.card.red  .card-bottom { background: linear-gradient(#d03838, #b52626); }
.card.blue .card-bottom { background: linear-gradient(#0c63b1, #09497f); }
.card.gray .card-bottom { background: linear-gradient(#3f4143, #303233); }

.icon {
    width: 22px;
}

.icon-sm {
    width: 14px;
}
/* RESPONSIVE FIX */
@media (max-width: 992px) {
    .support-cards {
        flex-wrap: wrap;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .card {
        width: 90% !important;
    }

    .support-cards {
        padding: 20px 0;
    }
}

            @media (max-width: 480px) {
                .card {
                    width: 100% !important;
                    margin: 0 10px;
                }

                .card-top,
                .card-middle,
                .card-bottom {
                    padding: 14px;
                }

                .card-middle .major {
                    font-size: 18px;
                }

                .blur-banner {
                    font-size: 14px;
                    padding: 12px 20px;
                }

                .excellence-section h2 {
                    font-size: 26px;
                }
            }

            /* Add these CSS rules */
            .object-fit-cover {
               object-fit: cover;
            }
            /* SECTION */
        .project-section {
            padding: 40px 0;
            background: #fff;
            width: 100%;
            overflow-x: hidden;
        }
        
        /* CUSTOM CONTAINER */
        .project-container {
            width: 100%;
            max-width: 1300px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 60px;
            padding: 0 20px;
        }
        
        /* LEFT FORM */
        .project-form {
            width: 50%;
            flex-shrink: 0;
        }
        
        .project-form .label {
            color: #E47D27;
            font-size: 14px;
            letter-spacing: 1px;
            margin-bottom: 12px;
            font-weight: 600;
            display: block;
            text-transform: uppercase;
        }
        
        .project-form h2 {
            font-size: 38px;
            font-weight: 700;
            margin-bottom: 30px;
            color: #1D4E89;
            line-height: 1.2;
        }
        
        .project-form input,
        .project-form select {
            width: 100%;
            padding: 16px 18px;
            margin-bottom: 20px;
            background: #fafafa;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 16px;
            transition: all 0.3s ease;
        }
        
        .project-form input:focus,
        .project-form select:focus {
            outline: none;
            border-color: #1D4E89;
            box-shadow: 0 0 0 2px rgba(29, 78, 137, 0.1);
        }
        
        .submit-btn {
            width: 100%;
            padding: 18px;
            background: #1D4E89;
            color: #fff;
            border: none;
            border-radius: 6px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            letter-spacing: 1px;
            transition: all 0.3s ease;
            text-transform: uppercase;
        }
        
        .submit-btn:hover {
            background: #153a6d;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(29, 78, 137, 0.2);
        }
        
        .submit-btn:active {
            transform: translateY(0);
        }
        
        /* RIGHT IMAGE */
        .project-image {
            width: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .project-image img {
            width: 100%;
            height: auto;
            max-height: 500px;
            object-fit: contain;
            border-radius: 8px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        }
        
        /* Tablet Responsive Styles (768px - 1024px) */
        @media (max-width: 1024px) {
            .project-container {
                max-width: 95%;
                gap: 40px;
            }
            
            .project-form h2 {
                font-size: 32px;
            }
            
            .project-form input,
            .project-form select {
                padding: 14px 16px;
                margin-bottom: 16px;
            }
            
            .submit-btn {
                padding: 16px;
            }
            
            .project-image img {
                max-height: 450px;
            }
        }
        
        /* Mobile Responsive Styles (max-width: 768px) */
        @media (max-width: 768px) {
            .project-section {
                padding: 60px 0;
            }
            
            .project-container {
                flex-direction: column;
                text-align: center;
                gap: 40px;
                padding: 0 15px;
            }
            
            .project-form,
            .project-image {
                width: 100% !important;
            }
            
            .project-form h2 {
                font-size: 28px;
                margin-bottom: 25px;
            }
            
            .project-form input,
            .project-form select {
                font-size: 16px;
                padding: 15px;
                margin-bottom: 15px;
            }
            
            .project-image img {
                width: 100%;
                max-height: 350px;
                border-radius: 6px;
            }
            
            .submit-btn {
                font-size: 15px;
                padding: 17px;
            }
            .title {
            margin-bottom: 10px !important;
            }
        }
        
        /* Small Mobile Styles (max-width: 480px) */
        @media (max-width: 480px) {
            .project-section {
                padding: 50px 0;
            }
            
            .project-container {
                gap: 30px;
            }
            
            .project-form h2 {
                font-size: 24px;
            }
            
            .project-form .label {
                font-size: 13px;
            }
            
            .project-form input,
            .project-form select {
                font-size: 15px;
                padding: 14px;
            }
            
            .submit-btn {
                font-size: 14px;
                padding: 16px;
            }
            
            .project-image img {
                max-height: 280px;
            }
        }
        
        /* Form Validation Styles */
        .error-message {
            color: #d32f2f;
            font-size: 14px;
            margin-top: -15px;
            margin-bottom: 15px;
            text-align: left;
            display: none;
        }
        
        .success-message {
            background-color: #4caf50;
            color: white;
            padding: 15px;
            border-radius: 6px;
            margin-top: 20px;
            text-align: center;
            display: none;
        }
        
        /* Loading State */
        .loading {
            position: relative;
            pointer-events: none;
            opacity: 0.8;
        }
        
        .loading::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 20px;
            height: 20px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 0.8s linear infinite;
            transform: translate(-50%, -50%);
        }
        
        @keyframes spin {
            to { transform: translate(-50%, -50%) rotate(360deg); }
        }
        
        /* Fix for select dropdown on mobile */
        select {
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
            background-repeat: no-repeat;
            background-position: right 15px center;
            background-size: 16px;
            padding-right: 40px !important;
        }
