/* Compact Home Page Styles */
.hero {
    min-height: 80vh !important;
    padding: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
}

.hero::before {
    display: none !important;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-background-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    display: block;
}

.hero-background-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}


.hero-badge {
    padding: 6px 14px !important;
    font-size: 0.85rem !important;
    margin-bottom: 20px !important;
}

.hero-title {
    font-size: 2.5rem !important;
    margin-bottom: 15px !important;
    line-height: 1.3 !important;
}

.hero-description {
    font-size: 1rem !important;
    margin-bottom: 20px !important;
    line-height: 1.5 !important;
}

.hero-stats {
    gap: 30px !important;
    margin: 20px 0 !important;
}

.stat-number {
    font-size: 1.3rem !important;
}

.stat-text {
    font-size: 0.85rem !important;
}

.hero-buttons {
    gap: 15px !important;
    margin-top: 20px !important;
}

.btn {
    padding: 8px 24px !important;
    font-size: 0.9rem !important;
}

/* Section Headers */
.section-header {
    margin-bottom: 30px !important;
}

.section-badge {
    padding: 6px 14px !important;
    font-size: 0.85rem !important;
    margin-bottom: 12px !important;
}

.section-title {
    font-size: 2rem !important;
    margin-bottom: 12px !important;
}

.section-subtitle {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
}

/* Services Section */
.services {
    padding: 50px 0 !important;
}

.services-grid {
    margin-top: 30px !important;
    gap: 25px !important;
}

.service-card {
    padding: 25px 20px !important;
}

.service-card.compact {
    padding: 20px 18px !important;
}

.service-card.compact .service-icon {
    width: 60px !important;
    height: 60px !important;
    margin-bottom: 15px !important;
}

.service-card.compact .service-icon i {
    font-size: 1.8rem !important;
}

.service-card.compact h3 {
    font-size: 1.2rem !important;
    margin-bottom: 10px !important;
}

.service-card.compact p {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
}

.service-card.compact .service-features {
    display: none !important;
}

.service-card.compact .service-footer {
    margin-top: 12px !important;
}

.service-card h3 {
    font-size: 1.3rem !important;
    margin-bottom: 12px !important;
}

.service-card p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin-bottom: 15px !important;
}

.service-features {
    margin-bottom: 15px !important;
}

.service-features li {
    font-size: 0.85rem !important;
    margin-bottom: 8px !important;
    padding-left: 20px !important;
}

.services-cta {
    margin-top: 40px !important;
    padding: 35px 25px !important;
}

.services-cta h3 {
    font-size: 1.5rem !important;
    margin-bottom: 10px !important;
}

.services-cta p {
    font-size: 0.9rem !important;
    margin-bottom: 20px !important;
}

/* Service Card Flip Effect */
.service-card-flip {
    background: transparent !important;
    border-radius: 20px;
    perspective: 1000px;
    -webkit-perspective: 1000px;
    height: 100%;
    min-height: 320px;
    cursor: pointer;
    position: relative;
    transform: none !important;
    -webkit-transform: none !important;
}

/* Prevent any translateY or other transforms on hover */
.service-card-flip:hover {
    transform: none !important;
    -webkit-transform: none !important;
    box-shadow: none !important;
}

/* Ensure flip cards work in grid */
.services-grid .service-card-flip {
    display: block;
    width: 100%;
}

.service-card-inner-flip {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
    transform-origin: center center;
    -webkit-transform-origin: center center;
}

.service-card-flip:hover .service-card-inner-flip,
.service-card-flip:focus .service-card-inner-flip {
    transform: rotateY(180deg) !important;
    -webkit-transform: rotateY(180deg) !important;
}

/* Touch device support - flip on tap */
@media (hover: none) and (pointer: coarse) {
    .service-card-flip.flipped .service-card-inner-flip {
        transform: rotateY(180deg);
    }
}

.service-card-front,
.service-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    user-select: none;
    -webkit-user-select: none;
    overflow: hidden;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    margin: 0;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Add overlay for background images on service-card-front */
.service-card-front {
    position: relative;
}

.service-card-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
    border-radius: 20px;
    pointer-events: none;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.service-card-front>* {
    position: relative;
    z-index: 2;
}

.service-card-back {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    background: linear-gradient(135deg, #3498db 0%, #2ecc71 100%);
    color: white;
    padding: 25px 20px;
}

.service-card-flip.compact .service-card-front,
.service-card-flip.compact .service-card-back {
    padding: 15px 25px;
    min-height: 320px;
}

/* Front Side Styles */
.service-card-front .service-icon {
    width: 60px !important;
    height: 60px !important;
    margin: 0 auto 15px !important;
    position: relative !important;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-front .service-icon i {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.service-card-front .service-icon .icon-bg {
    position: absolute !important;
    top: -10px !important;
    left: -10px !important;
    right: -10px !important;
    bottom: -10px !important;
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 50% !important;
    opacity: 1 !important;
    z-index: -1;
}

.service-card-front .service-content {
    position: relative;
    z-index: 3;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.service-card-front .service-content h3 {
    font-size: 1.2rem !important;
    margin-bottom: 10px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.6);
    line-height: 1.4;
}

.service-card-front .service-content p {
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

.service-link-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #999;
    font-style: italic;
    margin-top: 8px;
}

.service-link-hint i {
    font-size: 0.7rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Back Side Styles */
.service-back-header {
    text-align: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.service-icon-small {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.service-icon-small i {
    font-size: 1.5rem;
    color: white;
}

.service-back-header h3 {
    font-size: 1.3rem !important;
    font-weight: 600;
    color: rgb(57, 246, 205);
    margin: 0;
}

.service-back-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
}

.service-features-flip {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
}

.service-features-flip li {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.service-features-flip li i {
    color: white;
    font-size: 0.9rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.service-back-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.service-back-footer .service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    color: #3498db;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    user-select: auto;
    -webkit-user-select: auto;
    cursor: pointer;
}

.service-back-footer .service-link:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #2980b9;
}

.service-back-footer .service-link i {
    transition: transform 0.3s ease;
}

.service-back-footer .service-link:hover i {
    transform: translateX(4px);
}

/* Responsive adjustments for flip cards */
@media (max-width: 991px) {
    .service-card-flip {
        min-height: 300px;
    }

    .service-card-flip.compact .service-card-front,
    .service-card-flip.compact .service-card-back {
        min-height: 300px;
        padding: 18px 15px;
    }

    .service-back-header h3 {
        font-size: 1.15rem !important;
    }

    .service-features-flip li {
        font-size: 0.8rem;
        padding: 6px 0;
    }
}

@media (max-width: 768px) {
    .service-card-flip {
        min-height: 280px;
    }

    .service-card-flip.compact .service-card-front,
    .service-card-flip.compact .service-card-back {
        min-height: 280px;
        padding: 15px 12px;
    }

    .service-card-front .service-icon {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 12px !important;
    }

    .service-card-front .service-icon i {
        font-size: 1.5rem !important;
        color: #fff !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    }

    .service-card-front .service-content h3 {
        font-size: 1.1rem !important;
        color: #ffffff !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.5);
    }

    .service-card-front .service-content p {
        font-size: 0.8rem !important;
        color: rgba(255, 255, 255, 0.95) !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 1px 2px rgba(0, 0, 0, 0.4);
    }

    .service-back-header h3 {
        font-size: 1.1rem !important;
    }

    .service-features-flip li {
        font-size: 0.75rem;
        padding: 5px 0;
    }

    .service-back-footer .service-link {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* About Section */
.about {
    padding: 15px 0 !important;
}

.about-content {
    gap: 40px !important;
    margin-top: 8px !important;
}

.about-description {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 25px !important;
}

.about-features {
    gap: 20px !important;
}

.feature {
    padding: 20px !important;
}

.feature-icon {
    width: 50px !important;
    height: 50px !important;
    font-size: 1.3rem !important;
    margin-bottom: 12px !important;
}

.feature-content h4 {
    font-size: 1.1rem !important;
    margin-bottom: 8px !important;
}

.feature-content p {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
}

/* About Visual Section with Background Image */
.about-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-image: url('/images/cards/4.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
}

.about-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
    border-radius: 20px;
}

.about-visual>* {
    position: relative;
    z-index: 2;
}

.stats-container {
    padding: 25px !important;
    position: relative;
    z-index: 2;
}

.stats-grid {
    gap: 20px !important;
}

.stat {
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-radius: 15px;
    color: white !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    color: #fff !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 1.5rem !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.stat-label {
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.achievement-badge {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.achievement-badge i {
    color: #f39c12 !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.achievement-badge span {
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Contact Section */
.contact {
    padding: 5px 0 !important;
}

.contact-content {
    margin-top: 8px !important;
    gap: 30px !important;
}

.contact-intro {
    margin-bottom: 25px !important;
}

.contact-intro h4 {
    font-size: 1.4rem !important;
    margin-bottom: 10px !important;
}

.contact-intro p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
}

.contact-methods {
    gap: 20px !important;
}

.contact-item {
    padding: 20px !important;
    margin-bottom: 15px !important;
}

.contact-details h4 {
    font-size: 1.1rem !important;
    margin-bottom: 8px !important;
}

.contact-details p {
    font-size: 1rem !important;
    margin-bottom: 5px !important;
}

.contact-details span {
    font-size: 0.85rem !important;
}

.contact-form-container {
    padding: 30px !important;
}

.contact-form {
    padding: 30px 25px !important;
}

.form-header h4 {
    font-size: 1.3rem !important;
    margin-bottom: 8px !important;
}

.form-header p {
    font-size: 0.85rem !important;
    margin-bottom: 20px !important;
}

.form-group {
    margin-bottom: 5px !important;
}

.form-group label {
    font-size: 0.9rem !important;
    margin-bottom: 1px !important;
}

.form-group input,
.form-group textarea {
    padding: 5px 8px !important;
    font-size: 0.8rem !important;
}


.featured-projects .section-header {
    margin-bottom: 10px !important;
}

.featured-projects-swiper {
    padding: 5px 0 20px 0 !important;
}

.project-card-content {
    padding: 1.25rem !important;
}

.project-card-title {
    font-size: 1.2rem !important;
    margin-bottom: 0.6rem !important;
}

.project-card-description {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    margin-bottom: 0.8rem !important;
}

.project-card-image {
    height: 200px !important;
}

.project-featured-badge {
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
}

.tech-tag {
    padding: 4px 10px !important;
    font-size: 0.7rem !important;
}

.project-card-footer {
    gap: 0.6rem !important;
}

.project-card-footer .btn {
    padding: 6px 12px !important;
    font-size: 0.8rem !important;
}

/* Additional Compact Styles */
.container {
    padding: 0 15px !important;
}

@media (min-width: 1200px) {
    .container {
        padding: 0 20px !important;
    }
}

/* Reduce spacing between sections */
section+section {
    margin-top: 0 !important;
}

/* Lead Form Styles */
.lead-form-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.lead-form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 400px;
    text-align: left !important;
}

.lead-form-header {
    text-align: center;
    margin-bottom: 0.5rem;
}

.lead-form-header h3 {
    color: #2c3e50;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.lead-form-header p {
    color: #6c757d;
    font-size: 0.8rem;
    margin: 0;
}

.lead-form .form-group {
    margin-bottom: 5px;
}

.lead-form label {
    display: block;
    margin-bottom: 0.4rem;
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.85rem;
}

.lead-form label i {
    color: #3498db;
    margin-right: 0.5rem;
}

.lead-form .form-control {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: white;
}

.lead-form .form-control:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.lead-form .btn-submit {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border: none;
    color: white;
    transition: all 0.3s ease;
    margin-top: 0.4rem;
}

.lead-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
}

.lead-form .btn-submit:active {
    transform: translateY(0);
}

.form-message {
    text-align: center;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Responsive - Mobile */
@media (max-width: 768px) {

    /* Global Container Padding Reduction */
    .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* Hero Section - Ultra Compact */
    .hero {
        min-height: 100vh !important;
        padding: 0 !important;
    }

    .hero-container {
        grid-template-columns: 1fr !important;
        padding: 80px 12px 20px 12px !important;
        gap: 30px !important;
    }

    .hero-badge {
        padding: 5px 10px !important;
        font-size: 0.75rem !important;
        margin-bottom: 12px !important;
    }

    .hero-title {
        font-size: 1.6rem !important;
        margin-bottom: 10px !important;
        line-height: 1.2 !important;
    }

    .hero-description {
        font-size: 0.85rem !important;
        margin-bottom: 12px !important;
        line-height: 1.4 !important;
    }

    .hero-stats {
        gap: 15px !important;
        margin: 12px 0 !important;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 1rem !important;
    }

    .stat-text {
        font-size: 0.7rem !important;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px !important;
        margin-top: 15px !important;
    }

    .btn {
        padding: 9px 18px !important;
        font-size: 0.8rem !important;
        width: 100%;
    }

    /* Section Headers - Compact */
    .section-header {
        margin-bottom: 20px !important;
    }

    .section-badge {
        margin-bottom: 8px !important;
        padding: 4px 10px !important;
        font-size: 0.75rem !important;
    }

    .section-title {
        font-size: 1.4rem !important;
        margin-bottom: 8px !important;
        line-height: 1.3 !important;
    }

    .section-subtitle {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0 !important;
    }

    /* Services Section - Compact */
    .services {
        padding: 25px 0 !important;
    }

    .services-grid {
        margin-top: 20px !important;
        gap: 15px !important;
    }

    .service-card {
        padding: 18px 12px !important;
    }

    .service-card h3 {
        font-size: 1.15rem !important;
        margin-bottom: 8px !important;
    }

    .service-card p {
        font-size: 0.85rem !important;
        margin-bottom: 10px !important;
    }

    .service-features {
        margin-bottom: 10px !important;
    }

    .service-features li {
        font-size: 0.8rem !important;
        margin-bottom: 6px !important;
        padding-left: 18px !important;
    }

    .services-cta {
        margin-top: 25px !important;
        padding: 25px 18px !important;
    }

    .services-cta h3 {
        font-size: 1.3rem !important;
        margin-bottom: 8px !important;
    }

    .services-cta p {
        font-size: 0.85rem !important;
        margin-bottom: 15px !important;
    }

    /* Featured Projects Section - Compact */
    .featured-projects {
        padding: 25px 0 !important;
    }

    .featured-projects .section-header {
        margin-bottom: 20px !important;
    }

    .featured-projects-swiper {
        padding: 10px 0 35px 0 !important;
    }

    .project-card-content {
        padding: 1rem !important;
    }

    .project-card-title {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }

    .project-card-description {
        font-size: 0.8rem !important;
        margin-bottom: 0.6rem !important;
    }

    .project-card-image {
        height: 180px !important;
    }

    .project-featured-badge {
        padding: 5px 10px !important;
        font-size: 0.7rem !important;
    }

    .tech-tag {
        padding: 3px 8px !important;
        font-size: 0.65rem !important;
    }

    .project-card-footer {
        gap: 0.5rem !important;
    }

    .project-card-footer .btn {
        padding: 5px 10px !important;
        font-size: 0.75rem !important;
    }

    /* About Section - Ultra Compact */
    .about {
        padding: 25px 0 !important;
    }

    .about-content {
        gap: 20px !important;
        margin-top: 15px !important;
    }

    .about-text {
        margin-bottom: 0 !important;
    }

    .about-description {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin-bottom: 15px !important;
    }

    /* About Features - 2x2 Grid on Mobile */
    .about-features {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    .feature {
        padding: 10px 8px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
    }

    .feature-icon {
        width: 35px !important;
        height: 35px !important;
        font-size: 1rem !important;
        margin-bottom: 5px !important;
    }

    .feature-content h4 {
        font-size: 0.9rem !important;
        margin-bottom: 3px !important;
    }

    .feature-content p {
        font-size: 0.7rem !important;
        line-height: 1.3 !important;
        margin: 0 !important;
    }

    /* Compact Stats Section - Mobile */
    .about-visual {
        margin-top: 0 !important;
        min-height: 350px !important;
    }

    .stats-container {
        padding: 15px !important;
    }

    /* Stats Grid - 2x2 Grid on Mobile */
    .stats-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    .stat {
        padding: 12px 8px !important;
        background: rgba(255, 255, 255, 0.15) !important;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: white !important;
    }

    .stat-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.3rem !important;
        margin-bottom: 6px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        color: #fff !important;
        background: rgba(255, 255, 255, 0.2) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .stat-number {
        font-size: 1.2rem !important;
        margin-bottom: 4px !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    }

    .stat-label {
        font-size: 0.7rem !important;
        color: rgba(255, 255, 255, 0.95) !important;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    }

    .achievement-badge {
        padding: 10px 18px !important;
        font-size: 0.8rem !important;
        margin-top: 15px !important;
        background: rgba(255, 255, 255, 0.2) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        color: white !important;
    }

    /* Contact Section - Compact */
    .contact {
        padding: 25px 0 !important;
    }

    .contact-content {
        margin-top: 20px !important;
        gap: 20px !important;
    }

    .contact-intro {
        margin-bottom: 18px !important;
    }

    .contact-intro h4 {
        font-size: 1.2rem !important;
        margin-bottom: 8px !important;
    }

    .contact-intro p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }

    .contact-methods {
        gap: 12px !important;
    }

    .contact-item {
        padding: 12px !important;
        margin-bottom: 10px !important;
    }

    .contact-details h4 {
        font-size: 1rem !important;
        margin-bottom: 6px !important;
    }

    .contact-details p {
        font-size: 0.9rem !important;
        margin-bottom: 4px !important;
    }

    .contact-details span {
        font-size: 0.8rem !important;
    }

    .contact-form-container {
        padding: 20px !important;
    }

    .contact-form {
        padding: 20px 15px !important;
    }

    .form-header h4 {
        font-size: 1.15rem !important;
        margin-bottom: 6px !important;
    }

    .form-header p {
        font-size: 0.8rem !important;
        margin-bottom: 15px !important;
    }

    .form-group {
        margin-bottom: 5px !important;
    }

    .form-group label {
        font-size: 0.85rem !important;
        margin-bottom: 5px !important;
    }

    .form-group input,
    .form-group textarea {
        padding: 6px 8px !important;
        font-size: 0.85rem !important;
    }

    /* Lead Form - Compact */
    .lead-form-card {
        padding: 1rem !important;
        max-width: 100%;
    }

    .lead-form-header {
        margin-bottom: 1rem !important;
    }

    .lead-form-header h3 {
        font-size: 1rem !important;
        margin-bottom: 0.3rem !important;
    }

    .lead-form-header p {
        font-size: 0.7rem !important;
    }

    .lead-form .form-group {
        margin-bottom: 0.8rem !important;
    }

    .lead-form label {
        font-size: 0.75rem !important;
        margin-bottom: 0.3rem !important;
    }

    .lead-form .form-control {
        padding: 0.55rem 0.75rem !important;
        font-size: 0.8rem !important;
    }

    .lead-form .btn-submit {
        padding: 0.65rem 1.1rem !important;
        font-size: 0.85rem !important;
        margin-top: 0.3rem !important;
    }

    /* Reduce spacing between all sections */
    section+section {
        margin-top: 0 !important;
    }
}

/* Responsive - Tablet */
@media (max-width: 992px) and (min-width: 769px) {
    .hero-title {
        font-size: 2.2rem !important;
    }

    .hero-description {
        font-size: 0.95rem !important;
    }

    .section-title {
        font-size: 1.8rem !important;
    }
}

.featured-projects {
    position: relative;
    overflow: hidden;
}

.featured-projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.featured-projects .container {
    position: relative;
    z-index: 1;
}

.featured-projects-swiper {
    padding: 5px 0 60px 0;
}

.project-swiper-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-swiper-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.project-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Image scale animation removed */

.project-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: 3rem;
}

.project-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-swiper-card:hover .project-card-overlay {
    opacity: 1;
}

.project-featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffc107;
    color: #000;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.project-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-card-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #2c3e50;
}

.project-card-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.project-card-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    color: white;
}

.project-card-footer {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

/* Swiper Customization */
.featured-projects-swiper .swiper-button-next,
.featured-projects-swiper .swiper-button-prev {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.featured-projects-swiper .swiper-button-next:after,
.featured-projects-swiper .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.featured-projects-swiper .swiper-button-next:hover,
.featured-projects-swiper .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.3);
}

.featured-projects-swiper .swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.featured-projects-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #ffc107;
}