
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #333;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

/* Mobile Container */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }
}

/* ========== COMPREHENSIVE MOBILE RESPONSIVENESS ========== */

/* Base Mobile Styles */
@media (max-width: 768px) {
    * {
        box-sizing: border-box !important;
    }
    
    html, body {
        font-size: 14px !important;
        line-height: 1.4 !important;
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Header Mobile */
    .main-header {
        padding: 10px 0 !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
        background: white !important;
    }
    
    .main-header .container {
        flex-direction: column !important;
        gap: 15px !important;
        padding: 0 15px !important;
    }
    
    .main-header .logo img {
        height: 50px !important;
        max-width: 50px !important;
    }
    
    .company-name {
        font-size: 1.8rem !important;
        letter-spacing: 1px !important;
    }
    
    .company-subtitle {
        font-size: 0.9rem !important;
        letter-spacing: 1px !important;
    }
    
    .main-nav ul {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
    }
    
    .main-nav ul li a {
        padding: 8px 12px !important;
        font-size: 0.85rem !important;
        letter-spacing: 0.6px !important;
    }
    
    /* Hero Mobile */
    .hero {
        min-height: 350px !important;
        padding: 20px 0 !important;
        background-attachment: scroll !important;
    }
    
    .hero h1 {
        font-size: 2.2rem !important;
        margin-bottom: 15px !important;
        padding: 0 20px !important;
        line-height: 1.2 !important;
        word-wrap: break-word !important;
    }
    
    .hero p {
        font-size: 1.2rem !important;
        margin-bottom: 25px !important;
        padding: 0 20px !important;
    }
    
    .hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        align-items: center !important;
        width: 100% !important;
    }
    
    .hero-buttons .btn {
        width: 220px !important;
        margin: 0 !important;
        text-align: center !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
        min-height: auto !important;
    }
    
    /* Services Mobile */
    .services-overview {
        margin: 20px 15px !important;
        padding: 30px 20px !important;
    }
    
    .services-overview h2 {
        font-size: 2rem !important;
        margin-bottom: 15px !important;
        padding: 0 10px !important;
    }
    
    .services-overview > p {
        font-size: 1rem !important;
        margin-bottom: 30px !important;
        padding: 0 15px !important;
    }
    
    .services-overview .service-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        margin: 20px 0 !important;
    }
    
    .service-item {
        padding: 20px 15px !important;
        margin: 0 !important;
    }
    
    .service-image {
        height: 140px !important;
        margin-bottom: 15px !important;
    }
    
    /* About Us Mobile */
    .about-us {
        margin: 20px 15px !important;
        padding: 25px 20px !important;
        border-radius: 15px !important;
    }
    
    .about-header h2 {
        font-size: 2rem !important;
        margin-bottom: 15px !important;
    }
    
    .about-intro .intro-text {
        font-size: 1rem !important;
        padding: 0 10px !important;
        margin-bottom: 25px !important;
    }
    
    .about-content-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-bottom: 25px !important;
    }
    
    .about-card {
        padding: 20px 15px !important;
        border-radius: 12px !important;
    }
    
    /* Projects & Contact Mobile */
    .projects-overview,
    .contact-preview {
        margin: 20px 15px !important;
        padding: 25px 20px !important;
    }
    
    .modern-card {
        padding: 25px 20px !important;
        border-radius: 15px !important;
        margin: 0 !important;
    }
    
    .modern-card h2 {
        font-size: 2rem !important;
        margin-bottom: 15px !important;
        padding: 0 10px !important;
    }
    
    .modern-card p {
        font-size: 1rem !important;
        margin-bottom: 25px !important;
        padding: 0 10px !important;
    }
    
    .project-features,
    .contact-features {
        gap: 20px !important;
        margin: 25px 0 !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    
    .feature-item {
        padding: 15px !important;
        min-width: 120px !important;
    }
    
    .feature-icon {
        width: 40px !important;
        height: 40px !important;
    }
    
    .feature-text {
        font-size: 0.85rem !important;
        text-align: center !important;
    }
    
    /* Footer Mobile */
    .main-footer .container {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 0 20px !important;
    }
    
    .footer-info,
    .footer-links,
    .footer-social {
        padding: 0 20px !important;
        text-align: center !important;
    }
    
    .footer-info {
        text-align: center !important;
    }
    
    .footer-logo {
        justify-content: center !important;
    }
    
    .footer-company-name {
        font-size: 1.5rem !important;
        letter-spacing: 1px !important;
    }
    
    .footer-company-subtitle {
        font-size: 0.75rem !important;
        letter-spacing: 1px !important;
    }
}

@media (max-width: 480px) {
    .container {
        width: 100% !important;
        padding: 0 10px !important;
    }
    
    .main-header .logo img {
        height: 45px !important;
        max-width: 45px !important;
    }
    
    .company-name {
        font-size: 1.3rem !important;
        letter-spacing: 0.5px !important;
    }
    
    .company-subtitle {
        font-size: 0.7rem !important;
        letter-spacing: 0.5px !important;
    }
    
    .main-nav ul li a {
        padding: 6px 8px !important;
        font-size: 0.75rem !important;
        letter-spacing: 0.3px !important;
    }
    
    .hero h1 {
        font-size: 1.8rem !important;
        padding: 0 10px !important;
    }
    
    .hero p {
        font-size: 1rem !important;
        padding: 0 10px !important;
    }
    
    .hero-buttons .btn {
        width: 180px !important;
        padding: 10px 18px !important;
        font-size: 0.85rem !important;
    }
    
    .services-overview h2 {
        font-size: 1.6rem !important;
        padding: 0 10px !important;
    }
    
    .services-overview > p {
        font-size: 0.9rem !important;
        padding: 0 10px !important;
    }
    
    .about-us {
        margin: 15px 10px !important;
        padding: 20px 10px !important;
    }
    
    .about-header h2 {
        font-size: 1.6rem !important;
    }
    
    .about-intro .intro-text {
        font-size: 0.95rem !important;
        padding: 0 5px !important;
    }
    
    .projects-overview,
    .contact-preview {
        margin: 15px 10px !important;
        padding: 20px 10px !important;
    }
    
    .modern-card {
        padding: 20px 10px !important;
        border-radius: 10px !important;
    }
    
    .modern-card h2 {
        font-size: 1.6rem !important;
    }
    
    .modern-card p {
        font-size: 0.9rem !important;
    }
}

/* Header */
.main-header {
    background: white;
    color: #333;
    padding: 1.2rem 0;
    border-bottom: 3px solid #2563eb;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 49%, rgba(255, 255, 255, 0.03) 50%, transparent 51%);
    background-size: 30px 30px;
    z-index: 1;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 0 20px;
    gap: 30px;
}

.main-header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.main-header .logo img {
    height: 65px; /* Extended from 50px */
    width: auto;
    max-width: 65px;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.2);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.company-name {
    font-size: 2.4rem !important;
    font-weight: 600 !important;
    color: #1e2736 !important;
    letter-spacing: 2px !important;
    text-shadow: none !important;
    font-family: 'Oswald', 'Arial Black', Arial, sans-serif !important;
    text-transform: uppercase !important;
}

.company-subtitle {
    font-size: 1.1rem !important;
    color: #2563eb !important;
    font-weight: 600 !important;
    margin-top: 4px !important;
    letter-spacing: 1.5px !important;
    text-shadow: none !important;
    font-family: 'Roboto Condensed', 'Arial', sans-serif !important;
    text-transform: uppercase !important;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav ul li {
    display: inline-block;
    margin: 0;
}

.main-nav ul li a {
    color: #475569;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Roboto Condensed', 'Arial', sans-serif;
    letter-spacing: 0.8px;
    padding: 12px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.main-nav ul li a:hover {
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    transform: translateY(-1px);
}



/* Responsive navigation improvements */
@media (max-width: 1200px) {
    .main-nav ul li a {
        padding: 10px 16px;
        font-size: 0.9rem;
        letter-spacing: 0.8px;
    }
    
    .main-nav ul {
        gap: 6px;
    }
}

@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        gap: 20px;
        padding: 15px 20px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .main-nav ul li a {
        padding: 8px 14px;
        font-size: 0.85rem;
        letter-spacing: 0.6px;
    }
    
    /* Mobile logo adjustments */
    .main-header .logo {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    .main-header .logo img {
        height: 50px !important;
        max-width: 50px !important;
        margin: 0 auto !important;
        display: block !important;
    }
    
    .main-header .logo-text {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
        margin-top: 10px !important;
    }
    
    .company-name {
        font-size: 1.8rem !important;
        letter-spacing: 1px !important;
    }
    
    .company-subtitle {
        font-size: 0.9rem !important;
        letter-spacing: 1px !important;
    }
}

@media (max-width: 480px) {
    .main-header .container {
        padding: 10px 15px;
        gap: 15px;
    }
    
    .main-nav ul {
        gap: 6px;
    }
    
    .main-nav ul li a {
        padding: 6px 10px;
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }
    
    .company-name {
        font-size: 1.5rem !important;
    }
    
    .company-subtitle {
        font-size: 0.8rem !important;
    }
}

/* Hero Section */
.hero {
    min-height: 450px;
    padding: 20px 0;
    background: #1a1a1a url('../images/hero_bg.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: bold;
}

.hero p {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #ffffff !important;
}

.hero-buttons .btn {
    margin: 0 10px;
}

/* Desktop Hero Button Optimization */
@media (min-width: 1024px) {
    .hero-buttons .btn {
        padding: 12px 24px !important;
        min-height: auto !important;
        height: auto !important;
        line-height: 1.4 !important;
    }
    
    .services-overview .btn {
        padding: 12px 24px !important;
        min-height: auto !important;
        height: auto !important;
        line-height: 1.4 !important;
    }
    
    /* Why Choose Structoverve - Desktop Layout */
    .why-choose-section {
        background-color: #f8f9fa !important;
        padding: 40px 0 !important;
        border-radius: 12px !important;
        margin: 40px 0 !important;
    }
    
    .why-choose-section .features-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        grid-template-rows: auto auto !important;
        gap: 20px !important;
        max-width: 1000px !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }
    
    /* First 3 items in top row */
    .why-choose-section .feature-item:nth-child(1),
    .why-choose-section .feature-item:nth-child(2),
    .why-choose-section .feature-item:nth-child(3) {
        grid-row: 1 !important;
    }
    
    /* Last 2 items in bottom row, positioned on left side */
    .why-choose-section .feature-item:nth-child(4) {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }
    
    .why-choose-section .feature-item:nth-child(5) {
        grid-column: 2 !important;
        grid-row: 2 !important;
    }
    
    .why-choose-section .feature-item {
        background: white !important;
        padding: 20px !important;
        border-radius: 8px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
        transition: all 0.3s ease !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        min-height: 140px !important;
    }
    
    .why-choose-section .feature-content h4 {
        color: #2563eb !important;
        font-size: 1.2rem !important;
        margin-bottom: 10px !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;
    }
    
    .why-choose-section .feature-content p {
        color: #6c757d !important;
        line-height: 1.5 !important;
        margin: 0 !important;
        font-size: 0.9rem !important;
    }
    
    /* Structural Engineering Service Cards - Desktop Center Alignment */
    .service-category .service-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 30px !important;
        margin: 30px auto !important;
        max-width: 1000px !important;
        justify-items: center !important;
    }
    
    .service-category .service-item {
        width: 100% !important;
        max-width: 300px !important;
        justify-self: center !important;
    }
    
    /* Our Projects Section - Desktop Layout */
    .projects-overview {
        background-color: #f8f9fa !important;
        padding: 60px 0 !important;
        border-radius: 12px !important;
        margin: 40px auto !important;
        max-width: 1200px !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .projects-overview .modern-card {
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        text-align: center !important;
        max-width: 1000px !important;
        margin: 0 auto !important;
    }
    
    .projects-overview .modern-card h2 {
        font-size: 2.5rem !important;
        color: #2c3e50 !important;
        margin-bottom: 15px !important;
        font-weight: 700 !important;
    }
    
    .projects-overview .modern-card h2::after {
        content: '' !important;
        display: block !important;
        width: 60px !important;
        height: 4px !important;
        background: linear-gradient(90deg, #2563eb, #3b82f6) !important;
        margin: 15px auto 0 !important;
        border-radius: 2px !important;
    }
    
    .projects-overview .modern-card p {
        font-size: 1.1rem !important;
        color: #6c757d !important;
        margin-bottom: 40px !important;
        line-height: 1.6 !important;
        max-width: 600px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .project-features {
        display: flex !important;
        justify-content: center !important;
        gap: 40px !important;
        margin: 40px 0 !important;
        flex-wrap: nowrap !important;
        max-width: 1000px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .project-features .feature-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
        padding: 30px 20px !important;
        border-radius: 12px !important;
        background: white !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
        border: none !important;
        backdrop-filter: none !important;
        transition: all 0.3s ease !important;
        flex: 1 !important;
        max-width: 280px !important;
    }
    
    .project-features .feature-item:hover {
        transform: translateY(-8px) !important;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15) !important;
        background: linear-gradient(135deg, #ffffff, #f8f9fa) !important;
        border: 1px solid rgba(37, 99, 235, 0.1) !important;
    }
    
    .project-features .feature-icon {
        width: 64px !important;
        height: 64px !important;
        object-fit: contain !important;
        filter: none !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    
    .project-features .feature-item:hover .feature-icon {
        transform: scale(1.15) rotate(5deg) !important;
        filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.3)) !important;
    }
    
    .project-features .feature-item:hover .feature-text {
        color: #2563eb !important;
        font-weight: 700 !important;
        transform: translateY(-2px) !important;
    }
    
    .project-features .feature-text {
        transition: all 0.3s ease !important;
    }
    
    .project-features .feature-text {
        font-size: 1rem !important;
        font-weight: 600 !important;
        color: #2c3e50 !important;
        text-align: center !important;
    }
    
    /* CTA Buttons - Original Modern Style with Even Smaller Size */
    .projects-overview .modern-btn,
    .contact-preview .modern-btn {
        padding: 8px 20px !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        border-radius: 18px !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        position: relative !important;
        overflow: hidden !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        text-decoration: none !important;
        border: none !important;
        cursor: pointer !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    }
    
    .projects-overview .modern-btn:hover,
    .contact-preview .modern-btn:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    }
    
    .projects-overview .modern-btn .btn-text,
    .contact-preview .modern-btn .btn-text {
        position: relative !important;
        z-index: 2 !important;
    }
    
    .projects-overview .modern-btn .btn-icon,
    .contact-preview .modern-btn .btn-icon {
        position: relative !important;
        z-index: 2 !important;
        transition: transform 0.3s ease !important;
    }
    
    .projects-overview .modern-btn:hover .btn-icon,
    .contact-preview .modern-btn:hover .btn-icon {
        transform: translateX(5px) !important;
    }
    
    
    /* Our Mission Card - Match What We Do Card Styling */
    .mission-card {
        padding: 38px !important;
        border-radius: 20px !important;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12) !important;
    }
    
    .mission-card h3 {
        font-size: 2.4rem !important;
        margin-bottom: 28px !important;
    }
    
    .mission-card p {
        font-size: 1.1rem !important;
        line-height: 1.75 !important;
    }
    
    /* Ready to Start Your Project Section - Desktop Layout */
    .contact-preview {
        background-color: #f8f9fa !important;
        padding: 60px 0 !important;
        border-radius: 12px !important;
        margin: 40px auto !important;
        max-width: 1200px !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .contact-preview .modern-card {
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        text-align: center !important;
        max-width: 1000px !important;
        margin: 0 auto !important;
    }
    
    .contact-preview .modern-card h2 {
        font-size: 2.5rem !important;
        color: #2c3e50 !important;
        margin-bottom: 15px !important;
        font-weight: 700 !important;
    }
    
    .contact-preview .modern-card h2::after {
        content: '' !important;
        display: block !important;
        width: 60px !important;
        height: 4px !important;
        background: linear-gradient(90deg, #2563eb, #3b82f6) !important;
        margin: 15px auto 0 !important;
        border-radius: 2px !important;
    }
    
    .contact-preview .modern-card p {
        font-size: 1.1rem !important;
        color: #6c757d !important;
        margin-bottom: 40px !important;
        line-height: 1.6 !important;
        max-width: 600px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .contact-features {
        display: flex !important;
        justify-content: center !important;
        gap: 40px !important;
        margin: 40px 0 !important;
        flex-wrap: nowrap !important;
        max-width: 1000px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .contact-features .feature-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
        padding: 30px 20px !important;
        border-radius: 12px !important;
        background: white !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
        border: none !important;
        backdrop-filter: none !important;
        transition: all 0.3s ease !important;
        flex: 1 !important;
        max-width: 280px !important;
    }
    
    .contact-features .feature-item:hover {
        transform: translateY(-8px) !important;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15) !important;
        background: linear-gradient(135deg, #ffffff, #f8f9fa) !important;
        border: 1px solid rgba(37, 99, 235, 0.1) !important;
    }
    
    .contact-features .feature-icon {
        width: 64px !important;
        height: 64px !important;
        object-fit: contain !important;
        filter: none !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    
    .contact-features .feature-item:hover .feature-icon {
        transform: scale(1.15) rotate(5deg) !important;
        filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.3)) !important;
    }
    
    .contact-features .feature-item:hover .feature-text {
        color: #2563eb !important;
        font-weight: 700 !important;
        transform: translateY(-2px) !important;
    }
    
    .contact-features .feature-text {
        transition: all 0.3s ease !important;
    }
    
    .contact-features .feature-text {
        font-size: 1rem !important;
        font-weight: 600 !important;
        color: #2c3e50 !important;
        text-align: center !important;
    }
}

/* Mobile Why Choose Structoverve Section - Single Column Stack */
@media (max-width: 1023px) {
    .why-choose-section {
        background-color: #f8f9fa !important;
        padding: 40px 0 !important;
        border-radius: 12px !important;
        margin: 50px 0 !important;
    }
    
    .why-choose-section .features-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: none !important;
        gap: 20px !important;
        max-width: 800px !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }
    
    .why-choose-section .feature-item:nth-child(1),
    .why-choose-section .feature-item:nth-child(2),
    .why-choose-section .feature-item:nth-child(3),
    .why-choose-section .feature-item:nth-child(4),
    .why-choose-section .feature-item:nth-child(5) {
        grid-column: 1 !important;
        grid-row: auto !important;
    }
    
    .why-choose-section .feature-item {
        background: white !important;
        padding: 25px !important;
        border-radius: 12px !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
        transition: all 0.3s ease !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
        min-height: auto !important;
    }
    
    .why-choose-section .feature-content h4 {
        color: #2563eb !important;
        font-size: 1.3rem !important;
        margin-bottom: 12px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
    }
    
    .why-choose-section .feature-content p {
        color: #6c757d !important;
        line-height: 1.6 !important;
        margin: 0 !important;
        font-size: 0.95rem !important;
    }
}

/* Mobile Hero Section */
@media (max-width: 768px) {
    .hero {
        min-height: 350px;
        padding: 15px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 8px;
        padding: 0 20px;
    }
    
    .hero p {
        font-size: 1.2rem;
        margin-bottom: 25px;
        padding: 0 20px;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .hero-buttons .btn {
        margin: 0;
        width: 200px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 300px;
        padding: 10px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
        padding: 0 15px;
    }
    
    .hero p {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .hero-buttons .btn {
        width: 180px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* Main Content Sections */
main {
    padding: 40px 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

section {
    margin-bottom: 40px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Mobile Sections */
@media (max-width: 768px) {
    section {
        margin-bottom: 30px;
        padding: 15px;
        border-radius: 6px;
    }
    
    section h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    section {
        margin-bottom: 25px;
        padding: 12px;
        border-radius: 5px;
    }
    
    section h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
}

section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2a2a2a;
    font-size: 2.5rem;
}

/* About Us Section */
.about-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.vision-mission,
.what-we-do {
    flex: 1;
    padding: 0 20px;
}

.vision-mission h3,
.what-we-do h3 {
    color: #2563eb;
}

.read-more {
    color: #2563eb;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #1d4ed8;
}

.key-points {
    margin-top: 15px;
}

.key-points p {
    margin: 8px 0;
    color: #2a2a2a;
    font-weight: 500;
}

.company-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
    background: #f0f0f0;
    padding: 20px;
    border-radius: 8px;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: #2a2a2a;
    margin-bottom: 5px;
}

.stat-item p {
    color: #555;
}

/* Services Overview & Services Page */
.services-overview {
    text-align: center;
}

.services-overview .btn {
    display: inline-block;
    margin: 30px auto 0;
}

/* ========== PERFECT RESPONSIVE GRID SYSTEM ========== */

.services-overview .service-grid,
.service-category .service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 30px auto;
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
    padding: 0 20px;
}

/* Large Desktop */
@media (min-width: 1400px) {
    .services-overview .service-grid,
    .service-category .service-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
        max-width: 1400px;
    }
}

/* Standard Desktop */
@media (max-width: 1399px) and (min-width: 1200px) {
    .services-overview .service-grid,
    .service-category .service-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
        max-width: 1200px;
    }
}

/* Medium Desktop */
@media (max-width: 1199px) and (min-width: 1024px) {
    .services-overview .service-grid,
    .service-category .service-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        max-width: 1000px;
    }
}

/* Small Desktop & Large Tablet */
@media (max-width: 1023px) and (min-width: 768px) {
    .services-overview .service-grid,
    .service-category .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 800px;
    }
}

/* Tablet */
@media (max-width: 767px) and (min-width: 481px) {
    .services-overview .service-grid,
    .service-category .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 100%;
        padding: 0 15px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .services-overview .service-grid,
    .service-category .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
        padding: 0 10px;
        margin: 20px auto;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .services-overview .service-grid,
    .service-category .service-grid {
        gap: 15px;
        padding: 0 8px;
        margin: 15px auto;
    }
}

/* ========== SERVICES TEXT RESPONSIVENESS ========== */

/* Tablet */
@media (max-width: 767px) and (min-width: 481px) {
    .services-overview h2 {
        font-size: 2.2rem !important;
        margin-bottom: 15px !important;
        padding: 0 15px !important;
    }
    
    .services-overview > p {
        font-size: 1.1rem !important;
        margin-bottom: 25px !important;
        padding: 0 20px !important;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .services-overview h2 {
        font-size: 2rem !important;
        margin-bottom: 15px !important;
        padding: 0 15px !important;
    }
    
    .services-overview > p {
        font-size: 1rem !important;
        margin-bottom: 25px !important;
        padding: 0 15px !important;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .services-overview h2 {
        font-size: 1.8rem !important;
        margin-bottom: 12px !important;
        padding: 0 10px !important;
    }
    
    .services-overview > p {
        font-size: 0.95rem !important;
        margin-bottom: 20px !important;
        padding: 0 10px !important;
    }
}

.services-overview .service-item,
.service-category .service-item {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-overview .service-item:hover,
.service-category .service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.services-overview .service-item h3,
.service-category .service-item h4 {
    color: #2a2a2a;
    margin-bottom: 10px;
}

.service-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    /* Performance optimizations */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

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

/* ========== PROJECT GALLERY - PERFECT RESPONSIVE GRID ========== */

/* Project Gallery */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 30px auto;
    max-width: 1200px;
    padding: 0 20px;
}

/* Large Desktop */
@media (min-width: 1400px) {
    .project-gallery {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
        max-width: 1400px;
    }
}

/* Standard Desktop */
@media (max-width: 1399px) and (min-width: 1200px) {
    .project-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        max-width: 1200px;
    }
}

/* Medium Desktop */
@media (max-width: 1199px) and (min-width: 1024px) {
    .project-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        max-width: 1000px;
    }
}

/* Small Desktop & Large Tablet */
@media (max-width: 1023px) and (min-width: 768px) {
    .project-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        max-width: 800px;
    }
}

/* Tablet */
@media (max-width: 767px) and (min-width: 481px) {
    .project-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 100%;
        padding: 0 15px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .project-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
        padding: 0 10px;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .project-gallery {
        gap: 15px;
        padding: 0 8px;
    }
}

.project-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
}

.project-item h3 {
    color: #2a2a2a;
    margin: 15px 0 10px 0;
    font-size: 1.3rem;
}

.project-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-category {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.service-category:last-child {
    border-bottom: none;
}

.service-category h3 {
    text-align: left;
    color: #2563eb;
    margin-bottom: 20px;
    font-size: 2rem;
}

/* Projects Overview & Contact Preview */
.projects-overview,
.contact-preview {
    text-align: center;
}

.projects-overview p,
.contact-preview p {
    margin-bottom: 20px;
}

/* Footer */
.main-footer {
    background: #2a2a2a;
    color: #fff;
    padding: 40px 0 2px;
    font-size: 0.9rem;
    /* Ensure fonts are loaded */
    font-display: swap;
}

/* ========== FOOTER - PERFECT RESPONSIVE GRID ========== */

.main-footer .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Large Desktop */
@media (min-width: 1400px) {
    .main-footer .container {
        grid-template-columns: repeat(3, 1fr);
        gap: 80px;
        max-width: 1400px;
    }
}

/* Standard Desktop */
@media (max-width: 1399px) and (min-width: 1200px) {
    .main-footer .container {
        grid-template-columns: repeat(3, 1fr);
        gap: 60px;
        max-width: 1200px;
    }
}

/* Medium Desktop */
@media (max-width: 1199px) and (min-width: 1024px) {
    .main-footer .container {
        grid-template-columns: repeat(3, 1fr);
        gap: 50px;
        max-width: 1000px;
    }
}

/* Small Desktop & Large Tablet */
@media (max-width: 1023px) and (min-width: 768px) {
    .main-footer .container {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        max-width: 800px;
    }
}

/* Tablet */
@media (max-width: 767px) and (min-width: 481px) {
    .main-footer .container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        max-width: 100%;
        padding: 0 20px;
    }
}

/* Mobile Footer */
@media (max-width: 480px) {
    .main-footer .container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
    
    .footer-info,
    .footer-links,
    .footer-social {
        padding: 0 20px;
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-company-name {
        font-size: 1.5rem !important;
        letter-spacing: 1px !important;
    }
    
    .footer-company-subtitle {
        font-size: 0.75rem !important;
        letter-spacing: 1px !important;
    }
}

@media (max-width: 480px) {
    .main-footer {
        padding: 30px 0 2px;
    }
    
    .main-footer .container {
        gap: 25px;
        padding: 0 15px;
    }
    
    .footer-info,
    .footer-links,
    .footer-social {
        padding: 0 15px;
    }
    
    .footer-company-name {
        font-size: 1.3rem !important;
    }
    
    .footer-company-subtitle {
        font-size: 0.7rem !important;
    }
}

.footer-info,
.footer-links,
.footer-social {
    margin-bottom: 20px;
    padding: 0 30px;
    text-align: center;
    box-sizing: border-box;
}

.footer-info {
    text-align: left;
}

.footer-links {
    text-align: left;
}

.footer-social {
    text-align: left;
}

.footer-info h3 {
    color: #94a3b8;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Footer Logo Styling */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-top: 25px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    justify-content: center;
    margin-top: 0;
    /* Prevent font flashing */
    font-display: swap;
    /* Ensure proper font loading */
    font-synthesis: none;
}

.footer-company-name {
    font-size: 1.8rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    letter-spacing: 2px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    font-family: 'Oswald', 'Arial Black', Arial, sans-serif !important;
    text-transform: uppercase !important;
    /* Ensure font is loaded before display */
    font-display: swap !important;
    /* Fallback to prevent old font flash */
    font-synthesis: none !important;
    /* Prevent font size changes during load */
    font-size-adjust: 0.5 !important;
}

.footer-company-subtitle {
    font-size: 0.85rem !important;
    color: #2563eb !important;
    font-weight: 600 !important;
    margin-top: 1px !important;
    letter-spacing: 1.5px !important;
    text-shadow: none !important;
    font-family: 'Roboto Condensed', 'Arial', sans-serif !important;
    text-transform: uppercase !important;
    /* Ensure font is loaded before display */
    font-display: swap !important;
    /* Fallback to prevent old font flash */
    font-synthesis: none !important;
}

/* Footer Logo Link Styling */
.footer-logo-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease;
}

.footer-logo-link:hover {
    transform: scale(1.02);
}

.footer-info p {
    margin-bottom: 15px;
    line-height: 1.5;
}

.footer-info p:last-child {
    margin-bottom: 0;
}

/* Structoverve.com link styling */
.footer-info p:last-child a {
    color: #8b5cf6 !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.footer-info p:last-child a:hover {
    color: #a855f7 !important;
    text-decoration: none !important;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 15px;
    color: #2563eb;
    font-size: 1.2rem;
}

.footer-links ul,
.footer-social ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul {
    text-align: left;
    margin-top: 20px;
    padding-left: 0;
}

.footer-social ul {
    text-align: left;
    margin-top: 20px;
    padding-left: 0;
}

.footer-links ul li,
.footer-social ul li {
    margin-bottom: 15px;
    padding-left: 0;
}

.footer-links ul li {
    text-align: left;
}

.footer-social ul li {
    text-align: right;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a,
.footer-social a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links a:hover,
.footer-social a:hover {
    color: #2563eb;
    text-decoration: none;
}

/* Social Media Styling */
.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.social-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: currentColor;
}

.social-link.linkedin:hover {
    color: #0077b5;
}

.social-link.facebook:hover {
    color: #1877f2;
}

.social-link.whatsapp:hover {
    color: #25d366;
}

.social-link.instagram:hover {
    color: #e4405f;
}

.footer-social ul li {
    margin-bottom: 15px;
    text-align: left;
}

.copyright {
    text-align: center;
    padding-top: 2px;
    padding-bottom: 2px;
    margin-top: 2px;
    margin-bottom: 2px;
    border-top: 1px solid #444;
}

/* Contact Form Styles */
form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

form button[type="button"] {
    background-color: #2563eb;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

form button[type="button"]:hover {
    background-color: #1d4ed8;
}

/* Project Item Styles for Portfolio Page */
.project-item {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ========== ENHANCED ANIMATIONS & EFFECTS ========== */

/* Fade in animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Scale and bounce animations */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* Pulse animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Shimmer effect */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Rotate animation */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Slide in from bottom */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* New project-specific animations */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes zoomInRotate {
    from {
        opacity: 0;
        transform: scale(0.8) rotate(-5deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes bounceInScale {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes slideInDiagonal {
    from {
        opacity: 0;
        transform: translateX(-30px) translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

/* Hero section enhanced animations */
.hero h1 {
    animation: bounceIn 1.2s ease-out;
}

.hero p {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Logo animations */
.logo {
    animation: scaleIn 0.8s ease-out;
}

.company-name {
    animation: fadeInDown 1s ease-out 0.2s both;
}

.company-subtitle {
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Navigation animations */
.main-nav ul li {
    animation: fadeInRight 0.8s ease-out both;
}

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

/* Enhanced hover effects and animations */
.service-item {
    animation: fadeInUp 0.8s ease-out both;
}

.service-item:nth-child(1) { animation-delay: 0.1s; }
.service-item:nth-child(2) { animation-delay: 0.2s; }
.service-item:nth-child(3) { animation-delay: 0.3s; }
.service-item:nth-child(4) { animation-delay: 0.4s; }

.service-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-item:hover .service-image {
    transform: scale(1.08);
    transition: transform 0.4s ease;
}

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

.service-image:hover {
    filter: brightness(1.1) contrast(1.1);
}

.project-item {
    animation: slideInUp 0.8s ease-out both;
}

.project-item:nth-child(1) { animation-delay: 0.1s; }
.project-item:nth-child(2) { animation-delay: 0.2s; }
.project-item:nth-child(3) { animation-delay: 0.3s; }
.project-item:nth-child(4) { animation-delay: 0.4s; }

.project-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

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

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.main-nav ul li a {
    position: relative;
    transition: all 0.3s ease;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
    width: 100%;
}

.main-nav ul li a:hover {
    color: #2563eb;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Smooth transitions for all elements */
* {
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

/* ========== SERVICES PAGE STYLING ========== */
.services-section {
    padding: 60px 0 5px 0;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-out;
}

.services-title .block-letters {
    color: #2563eb;
    font-weight: 800;
}

.services-header .title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    margin: 0 auto;
    border-radius: 2px;
    animation: expandWidth 1.5s ease-out 0.5s both;
}

.services-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.services-intro .intro-text {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.8;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.service-category {
    margin-bottom: 10px;
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 40px;
    margin: 0 auto 40px auto;
    text-align: center;
    position: relative;
    animation: fadeInUp 1s ease-out 0.5s both;
    width: fit-content;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    border-radius: 2px;
    animation: expandWidth 1.2s ease-out 0.8s both;
}

/* Animated cards for services */
.animated-card {
    animation: slideInUp 0.8s ease-out both;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-category:nth-child(3) .animated-card:nth-child(1) { animation-delay: 0.1s; }
.service-category:nth-child(3) .animated-card:nth-child(2) { animation-delay: 0.2s; }
.service-category:nth-child(3) .animated-card:nth-child(3) { animation-delay: 0.3s; }

.service-category:nth-child(4) .animated-card:nth-child(1) { animation-delay: 0.4s; }
.service-category:nth-child(4) .animated-card:nth-child(2) { animation-delay: 0.5s; }
.service-category:nth-child(4) .animated-card:nth-child(3) { animation-delay: 0.6s; }

/* Enhanced hover effects for service items */
.services-section .service-item:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.25);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.services-section .service-item:hover .service-image {
    transform: scale(1.1);
    transition: transform 0.4s ease;
}

.services-section .service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 10px 10px 0 0;
}

.services-section .service-item:hover::before {
    transform: scaleX(1);
}



/* ========== PROJECTS PAGE STYLING ========== */
.projects-section {
    padding: 60px 0;
}

.projects-header {
    text-align: center;
    margin-bottom: 60px;
    margin-left: 30px;
    margin-right: 30px;
}

.projects-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-out;
}

.projects-title .block-letters {
    color: #2563eb;
    font-weight: 800;
}

.projects-header .title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    margin: 0 auto;
    border-radius: 2px;
    animation: expandWidth 1.5s ease-out 0.5s both;
}

.projects-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.projects-intro .intro-text {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.8;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Animated project list items */
.projects-section .project-list-item.animated-card {
    animation: slideInUp 0.8s ease-out both;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 35px;
    padding: 30px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    position: relative;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.projects-section .project-list-item.animated-card:last-child {
    margin-bottom: 0;
}

/* Additional card refinements */
.projects-section .project-list-item.animated-card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.projects-section .project-list-item.animated-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.projects-section .project-list-item:nth-child(1) { animation-delay: 0.1s; }
.projects-section .project-list-item:nth-child(2) { animation-delay: 0.2s; }
.projects-section .project-list-item:nth-child(3) { animation-delay: 0.3s; }
.projects-section .project-list-item:nth-child(4) { animation-delay: 0.4s; }

/* Individual project effects - Blue line within card curvature */
.projects-section .project-effect-1,
.projects-section .project-effect-2,
.projects-section .project-effect-3,
.projects-section .project-effect-4,
.projects-section .project-effect-5,
.projects-section .project-effect-6 {
    animation: slideInUp 0.8s ease-out both;
    border-left: 4px solid #2563eb;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.projects-section .project-effect-1:hover,
.projects-section .project-effect-2:hover,
.projects-section .project-effect-3:hover,
.projects-section .project-effect-4:hover,
.projects-section .project-effect-5:hover,
.projects-section .project-effect-6:hover {
    border-left-color: #3b82f6;
}



/* Enhanced hover effects for project list items */
.projects-section .project-list-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}







.projects-section .project-list-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 12px 12px 0 0;
}

.projects-section .project-list-item:hover::before {
    transform: scaleX(1);
}

/* Project info styling */
.projects-section .project-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}



.projects-section .project-info p {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
}

/* Portfolio section styling */
.portfolio-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    margin: 40px 0;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 60px;
}

.portfolio-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-out;
}

.portfolio-title .block-letters {
    color: #2563eb;
    font-weight: 800;
}

.portfolio-header .title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    margin: 0 auto;
    border-radius: 2px;
    animation: expandWidth 1.5s ease-out 0.5s both;
}

.portfolio-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.portfolio-intro .intro-text {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.8;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Animated portfolio cards */
.portfolio-section .portfolio-card.animated-card {
    animation: slideInUp 0.8s ease-out both;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-section .portfolio-card:nth-child(1) { animation-delay: 0.1s; }
.portfolio-section .portfolio-card:nth-child(2) { animation-delay: 0.2s; }
.portfolio-section .portfolio-card:nth-child(3) { animation-delay: 0.3s; }
.portfolio-section .portfolio-card:nth-child(4) { animation-delay: 0.4s; }
.portfolio-section .portfolio-card:nth-child(5) { animation-delay: 0.5s; }
.portfolio-section .portfolio-card:nth-child(6) { animation-delay: 0.6s; }











/* ========== ABOUT PAGE STYLING ========== */
.about-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}



.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6, #2563eb);
    animation: shimmer 3s ease-in-out infinite;
}

/* ========== HOME PAGE ABOUT SECTION STYLING ========== */
.about-us {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin: 40px auto;
    max-width: 1200px;
    text-align: center;
}

/* Mobile About Us Section */
@media (max-width: 768px) {
    .about-us {
        margin: 20px 15px;
        padding: 30px 20px;
        border-radius: 15px;
    }
    
    .about-header h2 {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .about-intro .intro-text {
        font-size: 1.1rem;
        padding: 0 10px;
    }
    
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .about-card {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .about-us {
        margin: 15px 10px;
        padding: 25px 15px;
    }
    
    .about-header h2 {
        font-size: 1.8rem;
    }
    
    .about-intro .intro-text {
        font-size: 1rem;
    }
    
    .about-card {
        padding: 20px 15px;
    }
}

.about-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6, #2563eb);
    animation: shimmer 3s ease-in-out infinite;
}

.about-header {
    text-align: center;
    margin-bottom: 30px;
}

.about-header h2 {
    margin-bottom: 15px;
    color: #2a2a2a;
    font-size: 2.5rem;
    font-weight: 700;
}

/* ========== ABOUT US PAGE - MOVING BLUE LINE ========== */
/* 🚨 FUTURE REMINDER: To remove the moving blue line animation, delete or modify this entire block */
/* This creates the animated blue line under "About Us" title */
.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6, #8b5cf6, #06b6d4);
    margin: 0 auto;
    border-radius: 2px;
    background-size: 200% 100%;
    animation: expandWidth 1.5s ease-out 0.5s both, gradientShift 3s ease-in-out infinite;
}

.about-us p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.about-content {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ========== SERVICES OVERVIEW SECTION STYLING ========== */
.services-overview {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin: 40px auto;
    max-width: 1200px;
    text-align: center;
}

.services-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6, #2563eb);
    animation: shimmer 3s ease-in-out infinite;
}

.services-overview h2 {
    color: #2a2a2a;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.services-overview > p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.about-header {
    text-align: center;
    margin-bottom: 40px;
}

.about-title {
    font-size: 2.5rem;
    color: #2a2a2a;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-out;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6, #8b5cf6, #06b6d4);
    margin: 0 auto;
    border-radius: 2px;
    background-size: 200% 100%;
    animation: expandWidth 1.5s ease-out 0.5s both, gradientShift 3s ease-in-out infinite;
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 100px; }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}



.about-intro {
    text-align: center;
    margin-bottom: 50px;
}

.intro-text {
    font-size: 1.3rem;
    color: #555;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.3s both;
}

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

.about-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.8s ease-out both;
}

.about-card:nth-child(1) { animation-delay: 0.1s; }
.about-card:nth-child(2) { animation-delay: 0.2s; }
.about-card:nth-child(3) { animation-delay: 0.3s; }

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.about-card h3 {
    color: #2563eb;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.about-card p {
    color: #666;
    line-height: 1.6;
}

.why-choose-section {
    margin-bottom: 50px;
    background-color: #f8f9fa;
    padding: 40px 0;
    border-radius: 12px;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #2a2a2a;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Why Choose Structoverve - Desktop Layout (3 top, 2 bottom) */
.why-choose-section .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* First 3 items in top row */
.why-choose-section .feature-item:nth-child(1),
.why-choose-section .feature-item:nth-child(2),
.why-choose-section .feature-item:nth-child(3) {
    grid-row: 1;
}

/* Last 2 items in bottom row, centered */
.why-choose-section .feature-item:nth-child(4) {
    grid-column: 1;
    grid-row: 2;
}

.why-choose-section .feature-item:nth-child(5) {
    grid-column: 3;
    grid-row: 2;
}

.feature-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    animation: slideInLeft 0.8s ease-out both;
    min-height: 140px;
}

.feature-item:nth-child(1) { animation-delay: 0.6s; }
.feature-item:nth-child(2) { animation-delay: 0.7s; }
.feature-item:nth-child(3) { animation-delay: 0.8s; }
.feature-item:nth-child(4) { animation-delay: 0.9s; }
.feature-item:nth-child(5) { animation-delay: 1.0s; }

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

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

.feature-content h4 {
    color: #2563eb;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.3;
}

.feature-content p {
    color: #6c757d;
    line-height: 1.5;
    margin: 0;
    font-size: 0.9rem;
}



.whom-we-serve-section {
    text-align: center;
}

.section-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 1.1s both;
}

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

.industry-item {
    background: #2563eb;
    color: white;
    padding: 15px 20px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out both;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    border-left: 4px solid white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.industry-item:nth-child(1) { animation-delay: 1.2s; }
.industry-item:nth-child(2) { animation-delay: 1.3s; }
.industry-item:nth-child(3) { animation-delay: 1.4s; }
.industry-item:nth-child(4) { animation-delay: 1.5s; }
.industry-item:nth-child(5) { animation-delay: 1.6s; }
.industry-item:nth-child(6) { animation-delay: 1.7s; }
.industry-item:nth-child(7) { animation-delay: 1.8s; }
.industry-item:nth-child(8) { animation-delay: 1.9s; }
.industry-item:nth-child(9) { animation-delay: 2.0s; }

.industry-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    border-left-color: #f8fafc;
}





.closing-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 2.1s both;
}

/* Animation keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

/* ========== WHAT WE DO CARD STYLING ========== */
.what-we-do-card {
    grid-column: 1 / -1; /* Makes it span full width */
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.8s both;
    border: none;
    margin-top: 20px;
}

.what-we-do-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.what-we-do-card:hover::before {
    transform: scaleX(1);
}

.what-we-do-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
}

.about-card.what-we-do-card h3 {
    color: #2D3748 !important;
    margin-bottom: 24px !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    position: relative;
    z-index: 1;
}

.about-card.what-we-do-card p {
    color: #5C6F8D !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ========== KEY POINTS STYLING ========== */
.key-points {
    margin-top: 20px;
    animation: fadeInUp 1s ease-out 1.0s both;
}

.key-points p {
    margin: 12px 0;
    color: #2a2a2a;
    font-weight: 500;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.key-points p::before {
    content: '✓';
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    animation: pulse 2s ease-in-out infinite;
}

.key-points p:hover {
    transform: translateX(5px);
    color: #2563eb;
}

.key-points p:nth-child(1) { animation-delay: 1.1s; }
.key-points p:nth-child(2) { animation-delay: 1.2s; }
.key-points p:nth-child(3) { animation-delay: 1.3s; }
.key-points p:nth-child(4) { animation-delay: 1.4s; }
.key-points p:nth-child(5) { animation-delay: 1.5s; }
.key-points p:nth-child(6) { animation-delay: 1.6s; }
.key-points-section {
    margin-top: 40px;
    text-align: center;
}

.key-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.key-point-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideInUp 0.8s ease-out both;
}

.key-point-item:nth-child(1) { animation-delay: 0.4s; }
.key-point-item:nth-child(2) { animation-delay: 0.5s; }
.key-point-item:nth-child(3) { animation-delay: 0.6s; }
.key-point-item:nth-child(4) { animation-delay: 0.7s; }
.key-point-item:nth-child(5) { animation-delay: 0.8s; }
.key-point-item:nth-child(6) { animation-delay: 0.9s; }

.key-point-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15);
}

.point-icon {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

.key-point-item span {
    color: #2a2a2a;
    font-weight: 500;
    font-size: 1rem;
}

/* ========== CONTACT ICONS STYLING ========== */
.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 12px;
    color: #2563eb;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: all 0.3s ease;
}

.contact-icon:hover {
    color: #3b82f6;
    transform: scale(1.1);
    transition: all 0.2s ease;
}

.contact-icon:hover svg {
    filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.3));
}

/* Contact information paragraph styling */
.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.5;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

/* Footer contact info styling */
.footer-info p {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.4;
}

.footer-info p:last-child {
    margin-bottom: 0;
}

.footer-info .contact-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-info .contact-icon svg {
    width: 16px;
    height: 16px;
    fill: #2563eb !important;
    color: #2563eb !important;
}

.footer-info .contact-icon {
    color: #2563eb !important;
}

/* Force blue color for all contact icon paths */
.footer-info .contact-icon svg path {
    fill: #2563eb !important;
}

/* Override any currentColor usage */
.footer-info .contact-icon svg * {
    fill: #2563eb !important;
    color: #2563eb !important;
}

/* Most specific styling for contact icons */
.footer-info p .contact-icon svg,
.footer-info p .contact-icon svg path,
.footer-info p .contact-icon svg * {
    fill: #2563eb !important;
    color: #2563eb !important;
}



/* ========== UNIQUE & MODERN SECTIONS ========== */
.projects-overview,
.contact-preview {
    margin: 40px auto;
    padding: 40px;
    width: 100%;
    max-width: 1200px;
}

.modern-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile Modern Cards */
@media (max-width: 768px) {
    .modern-card {
        padding: 30px 20px;
        border-radius: 20px;
        margin: 20px 15px;
    }
    
    .modern-card h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .modern-card p {
        font-size: 1rem;
        margin-bottom: 25px;
        padding: 0 10px;
    }
    
    .project-features,
    .contact-features {
        gap: 20px;
        margin: 25px 0;
    }
    
    .feature-item {
        padding: 12px;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
    }
    
    .feature-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .modern-card {
        padding: 25px 15px;
        border-radius: 15px;
        margin: 15px 10px;
    }
    
    .modern-card h2 {
        font-size: 1.8rem;
    }
    
    .modern-card p {
        font-size: 0.95rem;
    }
    
    .project-features,
    .contact-features {
        gap: 15px;
        margin: 20px 0;
    }
    
    .feature-item {
        padding: 10px;
    }
    
    .feature-icon {
        width: 35px;
        height: 35px;
    }
    
    .feature-text {
        font-size: 0.8rem;
    }
}

/* Ensure container alignment matches other sections */
.projects-overview .container,
.contact-preview .container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.projects-overview .modern-card,
.contact-preview .modern-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 12px 24px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Floating Elements */
.floating-elements {
    display: none;
}

.floating-icon {
    display: none;
}

/* Content Wrapper */
.content-wrapper {
    position: relative;
    z-index: 2;
}

.modern-card h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    text-align: center;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modern-card h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.modern-card p {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Modern Buttons */
.modern-btn {
    padding: 12px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-icon {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.modern-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Contact Features */
.contact-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.feature-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
}

/* Action Group */
.action-group {
    margin-top: 30px;
}

.contact-note {
    margin-top: 15px;
    font-size: 0.95rem;
    color: #6c757d;
}

.phone-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: #1d4ed8;
}

/* Specific styling for projects section */
.projects-overview .modern-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.projects-overview .modern-card h2 {
    color: #2c3e50;
}

.projects-overview .modern-card h2::after {
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.projects-overview .modern-card p {
    color: #6c757d;
}

.projects-overview .modern-card .modern-btn {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #ffffff;
    border: none;
}

.projects-overview .modern-card .modern-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    transform: translateY(-2px);
}

/* Specific styling for contact section */
.contact-preview .modern-card {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.95), rgba(233, 236, 239, 0.95));
}

.contact-preview .modern-card h2::after {
    background: linear-gradient(90deg, #2563eb, #3b82f6);
}

/* Block Letters Styling */
.block-letters {
    font-family: 'Bebas Neue', 'Arial Black', Arial, sans-serif;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #2563eb;
}

/* Logo Link Styling */
.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.02);
}

.logo-link:hover .company-name {
    color: #2563eb;
}

.logo-link:hover .company-subtitle {
    color: #ffffff;
}

/* Project Features Styling */
.project-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

/* Mobile Project Features - Revert to Original Layout */
@media (max-width: 1023px) {
    .project-features {
        display: flex !important;
        justify-content: center !important;
        gap: 30px !important;
        margin: 30px 0 !important;
        flex-wrap: wrap !important;
    }
    
    .project-features .feature-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 15px !important;
        border-radius: 15px !important;
        background: rgba(255, 255, 255, 0.7) !important;
        backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        transition: all 0.3s ease !important;
    }
    
    .project-features .feature-icon {
        width: 48px !important;
        height: 48px !important;
        object-fit: contain !important;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1)) !important;
        transition: all 0.3s ease !important;
    }
    
    .project-features .feature-text {
        font-size: 0.9rem !important;
        font-weight: 500 !important;
        color: #495057 !important;
    }
}

.project-features .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.project-features .feature-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.project-features .feature-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.project-features .feature-item:hover .feature-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.project-features .feature-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
}

/* Project List Styling */
.project-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    margin-left: 30px;
    margin-right: 30px;
    animation: slideInFromLeft 1s ease-out;
}

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

.project-list-item {
    border-bottom: 1px solid #e9ecef;
    padding: 20px 0;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    position: relative;
}

.project-list-item:nth-child(1) { animation-delay: 0.1s; }
.project-list-item:nth-child(2) { animation-delay: 0.2s; }
.project-list-item:nth-child(3) { animation-delay: 0.3s; }
.project-list-item:nth-child(4) { animation-delay: 0.4s; }

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

.project-list-item:last-child {
    border-bottom: none;
}

.project-list-item:hover {
    background-color: #f8f9fa;
    padding-left: 15px;
    border-radius: 8px;
    transform: translateX(5px) scale(1.02);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
    border-left: 4px solid #2563eb;
}

.project-info h3 {
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-size: 1.4rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.project-list-item:hover .project-info h3 {
    color: #2563eb;
}

.project-info p {
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive design for project list */
@media (max-width: 768px) {
    .project-list-item {
        padding: 15px 0;
    }
    
    .project-list-item:hover {
        padding-left: 10px;
    }
    
    .project-info h3 {
        font-size: 1.2rem;
    }
    
    .project-info p {
        font-size: 0.95rem;
    }
}

/* Portfolio Section Styling */
.portfolio-section {
    margin: 60px auto;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
}

.portfolio-section h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 2.5rem;
    font-weight: 700;
}

.portfolio-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    margin: 15px auto 0;
    border-radius: 2px;
}

.portfolio-section > p {
    text-align: center;
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px auto 0;
    max-width: 100%;
    justify-items: center;
    align-items: start;
}

.portfolio-card {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;

}

/* Make Parts Drawings match GA Drawings height */
.portfolio-card:nth-child(5) {
    height: 100%;
    min-height: 140px;
}

.portfolio-card:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 8px;
    right: 8px;
    height: 3px;
    background: linear-gradient(90deg, #ffffff, #60a5fa);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 8px 8px 0 0;
}

.portfolio-card:hover::before {
    transform: scaleX(1);
}

.portfolio-card:active {
    transform: scale(0.98);
    transition: all 0.1s ease;
}



.card-header {
    padding: 25px 25px 20px;
    color: white;
}

.card-header h3 {
    margin: 0 0 10px 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.card-header p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

.card-content {
    padding: 25px;
}

.pdf-preview {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 2px dashed #dee2e6;
}

.pdf-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: #6c757d;
    text-align: center;
}

.pdf-icon {
    width: 60px;
    height: 60px;
    color: #2563eb;
}

.pdf-placeholder span {
    font-size: 0.9rem;
    max-width: 200px;
    line-height: 1.4;
}

.card-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.nav-btn {
    background: #2563eb;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover:not(:disabled) {
    background: #3b82f6;
    transform: scale(1.1);
}

.nav-btn:disabled {
    background: #dee2e6;
    color: #adb5bd;
    cursor: not-allowed;
}

.file-counter {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
    min-width: 60px;
    text-align: center;
}

/* Responsive design for portfolio section */
@media (max-width: 768px) {
    .portfolio-section {
        margin: 40px 0;
        padding: 30px 20px;
    }
    
    .portfolio-section h2 {
        font-size: 2rem;
    }
    
    .portfolio-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .portfolio-card {
        margin: 0 10px;
    }
    
    .card-header {
        padding: 20px 20px 15px;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .pdf-preview {
        min-height: 150px;
    }
    
    .pdf-icon {
        width: 50px;
        height: 50px;
    }
}

/* PDF Viewer Styling */
.pdf-viewer {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pdf-viewer iframe {
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pdf-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding: 10px 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.pdf-name {
    font-size: 0.9rem;
    color: #495057;
    font-weight: 500;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pdf-download {
    background: #2563eb;
    color: white;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pdf-download:hover {
    background: #3b82f6;
    transform: translateY(-1px);
}



.portfolio-card:hover .nav-btn:not(:disabled) {
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Our Projects Section Styling */
.container h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 2.5rem;
    font-weight: 700;
}

.container h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    margin: 15px auto 0;
    border-radius: 2px;
}

.container > p {
    text-align: center;
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== CONTACT PAGE STYLES ========== */

/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    background-size: 400% 400%;
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: gradientShift 8s ease-in-out infinite;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.08)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.08)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.2;
}

.contact-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

/* Elegant Title Styling */
.elegant-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    letter-spacing: 2px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: title-glow 3s ease-in-out infinite alternate;
}

.title-accent {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
    background-size: 200% 100%;
    margin: 0 auto 30px;
    border-radius: 2px;
    box-shadow: 0 2px 12px rgba(255, 107, 107, 0.4);
    animation: accent-pulse 2s ease-in-out infinite, accentShift 3s ease-in-out infinite;
}

@keyframes title-glow {
    from {
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 0 15px rgba(148, 163, 184, 0.2);
    }
    to {
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 0 25px rgba(148, 163, 184, 0.4);
    }
}

@keyframes accent-pulse {
    0%, 100% {
        transform: scaleX(1);
        opacity: 1;
    }
    50% {
        transform: scaleX(1.1);
        opacity: 0.8;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes accentShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}



.contact-header p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.95;
    position: relative;
    z-index: 2;
}

/* Contact Main Section */
.contact-main {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

/* Left Side - Company Info */
.contact-left {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.company-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #f8fafc;
    transition: all 0.3s ease;
}

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

.company-logo {
    text-align: center;
    margin-bottom: 25px;
}

.company-logo img {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.company-details h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 2px;
    font-family: 'Oswald', 'Arial Black', Arial, sans-serif;
}

.company-tagline {
    font-size: 1rem;
    color: #2563eb;
    text-align: center;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
    font-family: 'Roboto Condensed', 'Arial', sans-serif;
}

.company-description p {
    color: #6c757d;
    text-align: center;
    line-height: 1.6;
    font-size: 1rem;
}

/* Contact Details */
.contact-details {
    background: white;
    border-radius: 16px;
    padding: 20px 15px 25px 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    flex: 1;
    display: flex;
    flex-direction: column;
    border: 1px solid #f8fafc;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #ffffff;
    border: 1px solid #f1f5f9;
}

.contact-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.contact-item:last-child {
    margin-bottom: 10px;
}

.contact-icon-wrapper {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.contact-icon-wrapper svg {
    width: 24px;
    height: 24px;
    color: white;
}

.contact-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 3px;
}

.contact-text p {
    color: #6c757d;
    line-height: 1.3;
    margin-bottom: 2px;
}

.contact-text p:last-child {
    margin-bottom: 0;
}

.contact-text a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Right Side - Contact Form */
.contact-right {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #f8fafc;
}

.contact-form-container h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
}

.contact-form-container > p {
    color: #6c757d;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Enhanced Contact Form Styles */
.contact-form {
    max-width: 100%;
    margin: 0;
}







.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}



.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

.checkbox-group {
    margin-bottom: 30px;
}



.form-group {
    margin-bottom: 25px;
}



.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    padding: 18px 35px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.submit-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.submit-btn:hover svg {
    transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-left {
        position: static;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0;
    }
    
    .contact-header h1 {
        font-size: 2.8rem;
    }
    
    .elegant-title {
        font-size: 3rem;
        letter-spacing: 1px;
    }
    
    .title-accent {
        width: 100px;
    }
    

    
    .contact-main {
        padding: 60px 0;
    }
    
    .company-card,
    .contact-right {
        padding: 30px 25px;
    }
    
    .contact-item {
        padding: 15px;
    }
    
    .contact-icon-wrapper {
        width: 45px;
        height: 45px;
        margin-right: 15px;
    }
    

}

@media (max-width: 480px) {
    .contact-header h1 {
        font-size: 2.2rem;
    }
    
    .company-details h2 {
        font-size: 1.8rem;
    }
    
    .contact-form-container h3 {
        font-size: 1.6rem;
    }
}

/* ========== NOTIFICATION STYLES ========== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
    animation: slideInRight 0.3s ease-out;
}

.notification-content {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-left: 4px solid;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.notification-success {
    border-left-color: #10b981;
}

.notification-error {
    border-left-color: #ef4444;
}

.notification-message {
    color: #374151;
    font-weight: 500;
    flex: 1;
}

.notification-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.notification-close:hover {
    background: #f3f4f6;
    color: #6b7280;
}

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

/* ========== CRITICAL MOBILE OVERRIDE - FINAL FIXES ========== */

/* Force Mobile-First Approach */
@media (max-width: 768px) {
    /* Critical Mobile Fixes */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        font-size: 14px !important;
    }
    
    /* Container Fixes */
    .container {
        width: 95% !important;
        max-width: 95% !important;
        padding: 0 10px !important;
        margin: 0 auto !important;
        overflow: hidden !important;
    }
    
    /* Header Fixes */
    .main-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
        background: white !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    }
    
    .main-header .container {
        flex-direction: column !important;
        gap: 15px !important;
        padding: 0 15px !important;
    }
    
    .logo {
        justify-content: center !important;
    }
    
    .main-nav ul {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
    }
    
    /* Hero Fixes */
    .hero {
        min-height: 350px !important;
        padding: 20px 0 !important;
        background-attachment: scroll !important;
    }
    
    .hero h1 {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
        word-wrap: break-word !important;
        padding: 0 20px !important;
    }
    
    .hero p {
        font-size: 1.2rem !important;
        padding: 0 20px !important;
    }
    
    .hero-buttons {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: center !important;
        width: 100% !important;
    }
    
    .hero-buttons .btn {
        width: 220px !important;
        margin: 0 !important;
        text-align: center !important;
        padding: 12px 20px !important;
        min-height: auto !important;
    }
    
    /* Services Fixes */
    .services-overview .service-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        margin: 20px 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .service-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Section Fixes */
    .about-us,
    .projects-overview,
    .contact-preview {
        margin: 20px 15px !important;
        padding: 25px 20px !important;
        width: auto !important;
        max-width: none !important;
        box-sizing: border-box !important;
    }
    
    .modern-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }
    
    /* Feature Grid Fixes */
    .project-features,
    .contact-features {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        gap: 10px !important;
        margin: 25px 0 !important;
        width: 100% !important;
    }
    
    .feature-item {
        flex: 1 !important;
        min-width: 0 !important;
        max-width: none !important;
        text-align: center !important;
        padding: 15px 8px !important;
    }
    
    /* ========== PERFECT CARD LAYOUTS FOR ALL DEVICES ========== */
    
    /* Service Cards - Mobile Perfect */
    .services-overview .service-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        margin: 20px 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .service-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 20px 15px !important;
        margin: 0 !important;
        border-radius: 15px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
        background: white !important;
        transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    }
    
    .service-item:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
    }
    
    .service-image {
        width: 100% !important;
        height: 180px !important;
        object-fit: cover !important;
        border-radius: 10px !important;
        margin-bottom: 15px !important;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    }
    
    .service-item h3 {
        font-size: 1.3rem !important;
        margin-bottom: 12px !important;
        color: #2c3e50 !important;
        text-align: center !important;
        line-height: 1.3 !important;
    }
    
    .service-item p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        color: #6c757d !important;
        text-align: center !important;
        margin: 0 !important;
    }
    
    /* About Cards - Mobile Perfect */
    .about-content-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin: 25px 0 !important;
        width: 100% !important;
    }
    
    .about-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 20px 15px !important;
        margin: 0 !important;
        border-radius: 12px !important;
        background: white !important;
        box-shadow: 0 3px 12px rgba(0,0,0,0.08) !important;
        border: 1px solid #e9ecef !important;
        transition: all 0.3s ease !important;
    }
    
    .about-card:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 6px 20px rgba(0,0,0,0.12) !important;
        border-color: #007bff !important;
    }
    
    .about-card h3 {
        font-size: 1.2rem !important;
        margin-bottom: 10px !important;
        color: #007bff !important;
        text-align: center !important;
    }
    
    .about-card p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        color: #6c757d !important;
        text-align: center !important;
        margin: 0 !important;
    }
    
    /* Modern Cards - Projects & Contact - Mobile Perfect */
    .modern-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 25px 20px !important;
        border-radius: 15px !important;
        background: white !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
        border: 1px solid #e9ecef !important;
        transition: all 0.3s ease !important;
    }
    
    .modern-card:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 8px 30px rgba(0,0,0,0.15) !important;
        border-color: #007bff !important;
    }
    
    .modern-card h2 {
        font-size: 2rem !important;
        margin-bottom: 15px !important;
        color: #2c3e50 !important;
        text-align: center !important;
        line-height: 1.2 !important;
    }
    
    .modern-card p {
        font-size: 1rem !important;
        margin-bottom: 25px !important;
        color: #6c757d !important;
        text-align: center !important;
        line-height: 1.6 !important;
    }
    
    /* Feature Items - Mobile Perfect */
    .project-features,
    .contact-features {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
        gap: 20px !important;
        margin: 25px 0 !important;
        width: 100% !important;
        justify-items: center !important;
    }
    
    .feature-item {
        width: 100% !important;
        max-width: 160px !important;
        min-width: 140px !important;
        box-sizing: border-box !important;
        padding: 15px 10px !important;
        margin: 0 !important;
        border-radius: 12px !important;
        background: white !important;
        box-shadow: 0 3px 12px rgba(0,0,0,0.08) !important;
        border: 1px solid #e9ecef !important;
        text-align: center !important;
        transition: all 0.3s ease !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .feature-item:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 6px 20px rgba(0,0,0,0.12) !important;
        border-color: #007bff !important;
    }
    
    .feature-icon {
        width: 45px !important;
        height: 45px !important;
        margin-bottom: 12px !important;
        font-size: 1.2rem !important;
        transition: all 0.3s ease !important;
    }
    
    .feature-item:hover .feature-icon {
        transform: scale(1.1) !important;
    }
    
    .feature-text {
        font-size: 0.85rem !important;
        color: #2c3e50 !important;
        font-weight: 500 !important;
        line-height: 1.3 !important;
        margin: 0 !important;
        text-align: center !important;
    }
    
    /* Footer Fixes */
    .main-footer .container {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding: 0 20px !important;
    }
    
    .footer-info,
    .footer-links,
    .footer-social {
        text-align: center !important;
        padding: 0 20px !important;
        margin-bottom: 8px !important;
    }
    
    .footer-links,
    .footer-social {
        margin-bottom: 5px !important;
    }
    
    .footer-links h4,
    .footer-social h4 {
        margin-bottom: 8px !important;
    }
    
    .footer-links ul,
    .footer-social ul {
        margin-bottom: 0 !important;
    }
    
    /* Mobile: Show only social media icons horizontally */
    .footer-social h4 {
        display: block !important; /* Show "Follow Us" heading */
        text-align: center !important;
        margin-bottom: 15px !important;
        color: #2563eb !important;
        font-size: 1.2rem !important;
    }
    
    .footer-social ul {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 20px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .footer-social ul li {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .footer-social .social-link {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 8px !important;
        border-radius: 0 !important; /* Remove circular background */
        background: transparent !important; /* Remove background */
        transition: all 0.3s ease !important;
        -webkit-tap-highlight-color: transparent !important;
        touch-action: manipulation !important;
    }
    
    .footer-social .social-link:hover {
        background: transparent !important; /* Remove hover background */
        transform: translateY(-2px) !important;
    }
    
    /* Hide the text labels, show only icons */
    .footer-social .social-link {
        font-size: 0 !important; /* Hide text by making font size 0 */
    }
    
    .footer-social .social-link .social-icon {
        font-size: 24px !important; /* Restore icon size */
    }
    
    .footer-social .social-icon {
        width: 24px !important;
        height: 24px !important;
        margin: 0 !important;
    }
    
    /* Prevent flashing on mobile touch */
    .footer-social .social-link:active {
        transform: none !important;
    }
    
    .footer-social .social-link:focus {
        outline: none !important;
    }
}

@media (max-width: 480px) {
    /* Portrait Mode Mobile Fixes */
    .container {
        width: 100% !important;
        padding: 0 10px !important;
    }
    
    /* Header Portrait Mode */
    .main-header .container {
        padding: 8px 10px !important;
        gap: 12px !important;
    }
    
    .main-header .logo img {
        height: 45px !important;
        max-width: 45px !important;
    }
    
    .company-name {
        font-size: 1.4rem !important;
        letter-spacing: 1px !important;
    }
    
    .company-subtitle {
        font-size: 0.7rem !important;
        letter-spacing: 0.8px !important;
    }
    
    .main-nav ul li a {
        padding: 6px 8px !important;
        font-size: 0.75rem !important;
    }
    
    /* Hero Portrait Mode */
    .hero {
        min-height: 350px !important;
        padding: 30px 15px !important;
    }
    
    .hero h1 {
        font-size: 1.8rem !important;
        padding: 0 5px !important;
        margin-bottom: 15px !important;
    }
    
    .hero p {
        font-size: 1rem !important;
        padding: 0 5px !important;
        margin-bottom: 25px !important;
    }
    
    .hero-buttons {
        gap: 12px !important;
    }
    
    .hero-buttons .btn {
        width: 180px !important;
        padding: 10px 18px !important;
        font-size: 0.85rem !important;
    }
    
    /* Sections Portrait Mode */
    .about-us,
    .services-overview,
    .projects-overview,
    .contact-preview {
        margin: 15px auto !important;
        padding: 20px 15px !important;
        max-width: calc(100% - 10px) !important;
    }
    
    /* Service Grid Portrait Mode */
    .services-overview .service-grid {
        gap: 15px !important;
        margin: 15px 0 !important;
    }
    
    .service-item {
        padding: 15px 12px !important;
        margin-bottom: 12px !important;
    }
    
    .service-item h3 {
        font-size: 1.1rem !important;
        margin-bottom: 8px !important;
    }
    
    .service-item p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
    
    /* Feature Grid Portrait Mode */
    .project-features,
    .contact-features {
        gap: 12px !important;
        margin: 15px 0 !important;
    }
    
    .feature-item {
        padding: 10px 5px !important;
        flex: 1 !important;
        min-width: 0 !important;
    }
    
    .feature-text {
        font-size: 0.8rem !important;
    }
    
    /* Typography Portrait Mode */
    h1 {
        font-size: 1.8rem !important;
    }
    
    h2 {
        font-size: 1.4rem !important;
    }
    
    h3 {
        font-size: 1.2rem !important;
    }
    
    p {
        font-size: 0.9rem !important;
    }
}
    
    /* ========== SMALL MOBILE CARD PERFECTION ========== */
    
    /* Service Cards - Small Mobile */
    .services-overview .service-grid {
        gap: 20px !important;
        margin: 15px 0 !important;
    }
    
    .service-item {
        padding: 18px 12px !important;
        border-radius: 12px !important;
    }
    
    .service-image {
        height: 140px !important;
        border-radius: 8px !important;
    }
    
    .service-item h3 {
        font-size: 1.2rem !important;
        margin-bottom: 10px !important;
    }
    
    .service-item p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
    
    /* About Cards - Small Mobile */
    .about-content-grid {
        gap: 18px !important;
        margin: 20px 0 !important;
    }
    
    .about-card {
        padding: 18px 12px !important;
        border-radius: 10px !important;
    }
    
    .about-card h3 {
        font-size: 1.1rem !important;
        margin-bottom: 8px !important;
    }
    
    .about-card p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
    
    /* Modern Cards - Small Mobile */
    .modern-card {
        padding: 20px 15px !important;
        border-radius: 12px !important;
    }
    
    .modern-card h2 {
        font-size: 1.8rem !important;
        margin-bottom: 12px !important;
    }
    
    .modern-card p {
        font-size: 0.95rem !important;
        margin-bottom: 20px !important;
        line-height: 1.5 !important;
    }
    
    /* Feature Items - Small Mobile */
    .project-features,
    .contact-features {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        gap: 8px !important;
        margin: 20px 0 !important;
    }
    
    .feature-item {
        flex: 1 !important;
        min-width: 0 !important;
        max-width: none !important;
        padding: 10px 5px !important;
        border-radius: 10px !important;
    }
    
    .feature-icon {
        width: 40px !important;
        height: 40px !important;
        margin-bottom: 10px !important;
        font-size: 1.1rem !important;
    }
    
    .feature-text {
        font-size: 0.8rem !important;
        line-height: 1.2 !important;
    }
}

/* ========== DRAWING CATEGORIES STYLES ========== */
.drawing-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.drawing-category {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.drawing-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #2563eb;
}

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

.category-header h3 {
    color: #2563eb;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.category-header p {
    color: #666;
    margin-bottom: 0;
}



/* ========== CLICKABLE CARD STYLES ========== */
.clickable-card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

/* ========== EXTRA SMALL MOBILE CARD PERFECTION ========== */
@media (max-width: 360px) {
    /* Service Cards - Extra Small Mobile */
    .services-overview .service-grid {
        gap: 18px !important;
        margin: 12px 0 !important;
    }
    
    .service-item {
        padding: 15px 10px !important;
        border-radius: 10px !important;
    }
    
    .service-image {
        height: 120px !important;
        border-radius: 6px !important;
    }
    
    .service-item h3 {
        font-size: 1.1rem !important;
        margin-bottom: 8px !important;
    }
    
    .service-item p {
        font-size: 0.85rem !important;
        line-height: 1.3 !important;
    }
    
    /* About Cards - Extra Small Mobile */
    .about-content-grid {
        gap: 15px !important;
        margin: 18px 0 !important;
    }
    
    .about-card {
        padding: 15px 10px !important;
        border-radius: 8px !important;
    }
    
    .about-card h3 {
        font-size: 1rem !important;
        margin-bottom: 6px !important;
    }
    
    .about-card p {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
    }
    
    /* Modern Cards - Extra Small Mobile */
    .modern-card {
        padding: 18px 12px !important;
        border-radius: 10px !important;
    }
    
    .modern-card h2 {
        font-size: 1.3rem !important;
        margin-bottom: 10px !important;
    }
    
    .modern-card p {
        font-size: 0.9rem !important;
        margin-bottom: 18px !important;
        line-height: 1.4 !important;
    }
    
    /* Feature Items - Extra Small Mobile */
    .project-features,
    .contact-features {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)) !important;
        gap: 12px !important;
        margin: 18px 0 !important;
    }
    
    .feature-item {
        min-width: 90px !important;
        max-width: 110px !important;
        padding: 10px 6px !important;
        border-radius: 8px !important;
    }
    
    .feature-icon {
        width: 35px !important;
        height: 35px !important;
        margin-bottom: 8px !important;
        font-size: 1rem !important;
    }
    
    .feature-text {
        font-size: 0.75rem !important;
        line-height: 1.2 !important;
    }
}



/* ========== COMPREHENSIVE MOBILE OPTIMIZATION ========== */

/* Force Mobile-First Approach */
@media (max-width: 768px) {
    /* Critical Mobile Fixes */
    * {
        box-sizing: border-box !important;
    }
    
    /* Prevent Horizontal Scrolling */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        position: relative !important;
    }
    
    /* Container Optimization */
    .container {
        width: 95% !important;
        max-width: 95% !important;
        padding: 0 10px !important;
        margin: 0 auto !important;
        overflow: hidden !important;
    }
    
    /* Image Optimization */
    img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Logo Centering Fix - High Priority */
    .main-header .logo {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    .main-header .logo img {
        height: 50px !important;
        max-width: 50px !important;
        margin: 0 auto !important;
        display: block !important;
    }
    
    .main-header .logo-text {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
        margin-top: 10px !important;
    }
    
    .main-header .logo-link {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
    }
    

    
    /* Header Layout Fixes */
    .main-header .container {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 15px !important;
        padding: 10px 15px !important;
        flex-wrap: wrap !important;
    }
    
    /* About Us Section - Force Vertical Stacking on Mobile */
    .about-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }
    
    .vision-mission,
    .what-we-do {
        flex: none !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .key-points {
        margin-top: 20px !important;
    }
    
    .key-points p {
        margin-bottom: 10px !important;
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }
    
    /* Why Choose Structoverve Section - Mobile Only Full Width Cards */
    .why-choose-section .features-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        width: 100% !important;
        padding: 0 !important;
    }
    
    .why-choose-section .feature-item {
        width: 100% !important;
        max-width: 100% !important;
        padding: 25px 20px !important;
        margin: 0 !important;
        background: white !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
        border: 1px solid #f1f5f9 !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .why-choose-section .feature-content {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .why-choose-section .feature-content h4 {
        color: #2563eb !important;
        font-size: 1.3rem !important;
        margin-bottom: 12px !important;
        font-weight: 600 !important;
    }
    
    .why-choose-section .feature-content p {
        color: #64748b !important;
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin: 0 !important;
    }
    

    
    /* Hamburger Menu - Mobile Only */
    .hamburger-menu {
        display: none !important;
        flex-direction: column !important;
        justify-content: space-around !important;
        width: 40px !important;
        height: 35px !important;
        background: #2563eb !important;
        border: 2px solid #2563eb !important;
        cursor: pointer !important;
        padding: 5px !important;
        z-index: 9999 !important;
        position: fixed !important;
        top: 20px !important;
        right: 20px !important;
        border-radius: 5px !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
    }
    
    .hamburger-menu span {
        width: 100% !important;
        height: 3px !important;
        background: white !important;
        border-radius: 2px !important;
        transition: all 0.3s ease !important;
        transform-origin: center !important;
        display: block !important;
        margin: 2px 0 !important;
    }
    
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px) !important;
    }
    
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0 !important;
    }
    
    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px) !important;
    }
    
    /* Mobile Navigation Overlay */
    .nav-overlay {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.8) !important;
        z-index: 1001 !important;
        opacity: 0 !important;
        transition: opacity 0.3s ease !important;
        overflow: hidden !important;
        touch-action: none !important;
    }
    
    .nav-overlay.active {
        display: flex !important;
        opacity: 1 !important;
    }
    
    .nav-overlay.active {
        display: flex !important;
        opacity: 1 !important;
    }
    
    .nav-menu {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        width: 100% !important; /* Full width of screen */
        height: 100% !important;
        background: white !important;
        padding: 20px 20px 40px 20px !important;
        transform: translateX(100%) !important;
        transition: transform 0.3s ease !important;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1) !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Menu Header with Logo */
    .nav-menu-header {
        display: flex !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        margin-bottom: 30px !important;
        padding-bottom: 20px !important;
        border-bottom: 1px solid #e5e7eb !important;
        width: 100% !important; /* Full width */
        box-sizing: border-box !important;
        position: relative !important;
        z-index: 1 !important;
    }
    
    /* Remove any background elements that might cause layering */
    .nav-menu-header::before,
    .nav-menu-header::after {
        display: none !important;
        content: none !important;
    }
    
    .nav-menu-logo {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }
    
    .nav-menu-logo img {
        width: 40px !important;
        height: 40px !important;
        object-fit: contain !important;
    }
    
    .nav-menu-logo-text {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .nav-menu-logo-text .company-name {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #1f2937 !important;
        font-family: 'Oswald', sans-serif !important;
        margin: 0 !important;
    }
    
    .nav-menu-logo-text .company-subtitle {
        font-size: 12px !important;
        color: #6b7280 !important;
        font-family: 'Roboto Condensed', sans-serif !important;
        margin: 0 !important;
    }
    
    /* Close Button */
    .nav-menu-close {
        background: #2563eb !important;
        color: white !important;
        border: none !important;
        width: 30px !important;
        height: 30px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        font-size: 18px !important;
        font-weight: bold !important;
        box-shadow: 0 2px 5px rgba(37, 99, 235, 0.3) !important;
        z-index: 1002 !important;
        position: relative !important;
        /* Remove any pseudo-elements that might cause duplicates */
        content: none !important;
        /* Ensure no background images or additional styling */
        background-image: none !important;
        background-size: auto !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
    }
    
    /* Remove any pseudo-elements on close button */
    .nav-menu-close::before,
    .nav-menu-close::after {
        display: none !important;
        content: none !important;
        background: none !important;
        background-image: none !important;
    }
    
    /* Remove any additional styling that might create folder/tab effect */
    .nav-menu-close * {
        background: none !important;
        background-image: none !important;
    }
    
    /* Ensure close button is a simple circle with no folder/tab effects */
    .nav-menu-close {
        /* Override any potential folder/tab styling */
        clip-path: none !important;
        mask: none !important;
        -webkit-mask: none !important;
        filter: none !important;
        transform: none !important;
        /* Ensure it's just a simple circle */
        border-radius: 50% !important;
        width: 30px !important;
        height: 30px !important;
        /* Remove any potential layered effects */
        box-shadow: 0 2px 5px rgba(37, 99, 235, 0.3) !important;
    }
    
    .nav-overlay.active .nav-menu {
        transform: translateX(0) !important;
    }
    
    .nav-overlay.active .nav-menu {
        transform: translateX(0) !important;
    }
    
    /* Prevent body scroll when menu is active */
    body.menu-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        touch-action: none !important;
    }
    
    .nav-menu ul {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        flex: 1 !important;
    }
    
    .nav-menu ul li {
        margin: 0 !important;
        border-bottom: 1px solid #e5e7eb !important;
    }
    
    .nav-menu ul li:last-child {
        border-bottom: none !important;
    }
    
    .nav-menu ul li a {
        display: block !important;
        padding: 15px 20px !important;
        color: #374151 !important;
        text-decoration: none !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        transition: all 0.3s ease !important;
        font-family: 'Roboto Condensed', sans-serif !important;
        background: #f9fafb !important;
        border-radius: 8px !important;
        margin-bottom: 5px !important;
        width: 100% !important; /* Full width */
        box-sizing: border-box !important;
    }
    
    .nav-menu ul li a:hover,
    .nav-menu ul li a.active {
        color: #2563eb !important; /* Blue color for active/hover */
        background: rgba(37, 99, 235, 0.1) !important;
        transform: none !important;
    }
    
    /* Active page highlighting */
    .nav-menu ul li a[href="/"] {
        color: #374151 !important; /* Normal color for home page */
        font-weight: 500 !important;
        background: #f9fafb !important;
    }
    
    .nav-menu ul li a[href="about.html"] {
        color: #374151 !important;
    }
    
    .nav-menu ul li a[href="services.html"] {
        color: #374151 !important;
    }
    
    .nav-menu ul li a[href="portfolio.html"] {
        color: #374151 !important;
    }
    
    .nav-menu ul li a[href="contact.html"] {
        color: #374151 !important;
    }
    
    /* Hide regular navigation on mobile */
    .main-nav {
        display: none !important;
    }
    
    /* Show hamburger menu on mobile */
    .hamburger-menu {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-around !important;
        width: 40px !important;
        height: 35px !important;
        position: fixed !important;
        top: 80px !important; /* Moved further downward */
        right: 20px !important;
        z-index: 9999 !important;
        cursor: pointer !important;
        background: #2563eb !important; /* Blue color */
        border: 2px solid #2563eb !important;
        border-radius: 5px !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
        padding: 5px !important;
        pointer-events: auto !important;
        user-select: none !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    
    .hamburger-menu span {
        width: 100% !important;
        height: 3px !important;
        background: white !important;
        border-radius: 2px !important;
        transition: all 0.3s ease !important;
        transform-origin: center !important;
        display: block !important;
        margin: 2px 0 !important;
        pointer-events: none !important;
    }
    
    /* Ensure hamburger menu doesn't transform into X when active */
    .hamburger-menu.active span {
        transform: none !important;
        background: white !important;
    }
    
    /* Tablet: Hide hamburger menu and show regular navigation */
    @media (min-width: 768px) and (max-width: 1023px) {
        .hamburger-menu {
            display: none !important;
        }
        
        .nav-overlay {
            display: none !important;
        }
        
        .main-nav {
            display: flex !important;
        }
    }
    
    /* Desktop: Hide hamburger and nav overlay, show regular nav */
    @media (min-width: 1024px) {
        /* Center align services page content on desktop */
        .service-category,
        .services-section {
            text-align: center !important;
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            justify-content: center !important;
            width: 100% !important;
        }
        
        /* Override container width for services page */
        .services-section.container,
        .container.services-section,
        main .container,
        .services-section {
            width: 100% !important;
            max-width: 100% !important;
            margin: 0 !important;
            padding: 0 !important;
            box-sizing: border-box !important;
        }
        
        /* Force full width for all service containers */
        .service-category,
        .services-section,
        .service-grid {
            width: 100% !important;
            max-width: 100% !important;
            margin: 0 !important;
            padding: 0 !important;
        }
        
        /* Override any mobile container constraints */
        .container {
            width: 100% !important;
            max-width: 100% !important;
            margin: 0 !important;
            padding: 0 !important;
        }
        
        /* Remove left spacing from service sections */
        .service-category,
        .services-section,
        main .services-section,
        .services-section.container,
        main,
        main .container,
        main .container.services-section,
        .services-section.container,
        .container.services-section {
            padding-left: 0 !important;
            margin-left: 0 !important;
            padding: 0 !important;
            margin: 0 !important;
        }
        
        /* Force full width for all possible containers */
        main,
        main .container,
        main .container.services-section,
        .services-section.container,
        .container.services-section,
        .services-section {
            width: 100% !important;
            max-width: 100% !important;
            margin: 0 !important;
            padding: 0 !important;
            box-sizing: border-box !important;
        }
        
        /* Override the global container width rule specifically for services page */
        .services-section.container,
        .container.services-section,
        main .container.services-section,
        main .services-section .container,
        .services-section .container {
            width: 100% !important;
            max-width: 100% !important;
            margin: 0 !important;
            padding: 0 !important;
            overflow: visible !important;
        }
        
        /* Target the specific HTML structure */
        main > .container.services-section,
        main > section.container.services-section {
            width: 100% !important;
            max-width: 100% !important;
            margin: 0 !important;
            padding: 0 !important;
        }
        
        /* Ensure service items use full width with no spacing */
        .service-item,
        .service-item.animated-card {
            width: 33.333% !important;
            max-width: 33.333% !important;
            flex: 0 0 33.333% !important;
            margin: 0 !important;
            padding: 0 !important;
            border-radius: 0 !important;
            margin-right: 0 !important;
        }
        
        /* Remove all gaps and spacing from service grid */
        .service-grid {
            gap: 0 !important;
            margin: 0 !important;
            padding: 0 !important;
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: nowrap !important;
            justify-content: flex-start !important;
            align-items: stretch !important;
            width: 100% !important;
        }
        
        .service-category h2,
        .services-section h2 {
            text-align: center !important;
            margin: 0 auto 20px auto !important;
        }
        
        .service-category .service-grid,
        .services-section .service-grid {
            display: flex !important;
            flex-direction: row !important;
            justify-content: space-between !important;
            align-items: stretch !important;
            width: 100% !important;
            max-width: 100% !important;
            margin: 0 !important;
            gap: 20px !important;
            flex-wrap: nowrap !important;
        }
        
        .service-category .service-item,
        .services-section .service-item,
        .service-item.animated-card {
            flex: 1 !important;
            min-width: 0 !important;
            max-width: none !important;
            display: flex !important;
            flex-direction: column !important;
        }
        
        /* Override any existing grid layouts */
        .service-grid {
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: nowrap !important;
            grid-template-columns: none !important;
        }
        .hamburger-menu,
        button.hamburger-menu,
        .hamburger-menu[style],
        .hamburger-menu *,
        button[class*="hamburger-menu"],
        button[onclick*="toggleHamburgerMenu"],
        button[type="button"][class="hamburger-menu"] {
            display: none !important;
            visibility: hidden !important;
            opacity: 0 !important;
            pointer-events: none !important;
            position: absolute !important;
            left: -9999px !important;
            top: -9999px !important;
            width: 0 !important;
            height: 0 !important;
            overflow: hidden !important;
            clip: rect(0, 0, 0, 0) !important;
            margin: -1px !important;
            padding: 0 !important;
            border: 0 !important;
        }
        
        /* Also hide the navigation links */
        .main-nav,
        .main-nav ul,
        .main-nav ul li,
        .main-nav ul li a,
        nav.main-nav {
            display: none !important;
            visibility: hidden !important;
            opacity: 0 !important;
            pointer-events: none !important;
            position: absolute !important;
            left: -9999px !important;
            top: -9999px !important;
            width: 0 !important;
            height: 0 !important;
            overflow: hidden !important;
            clip: rect(0, 0, 0, 0) !important;
            margin: -1px !important;
            padding: 0 !important;
            border: 0 !important;
        }
        
        .nav-overlay,
        .nav-overlay.active,
        .nav-overlay *,
        .nav-menu,
        .nav-menu * {
            display: none !important;
            visibility: hidden !important;
            opacity: 0 !important;
            pointer-events: none !important;
            position: absolute !important;
            left: -9999px !important;
            top: -9999px !important;
            width: 0 !important;
            height: 0 !important;
            overflow: hidden !important;
            clip: rect(0, 0, 0, 0) !important;
            margin: -1px !important;
            padding: 0 !important;
            border: 0 !important;
        }
        
        .main-nav,
        .main-nav ul,
        .main-nav ul li,
        .main-nav ul li a,
        nav.main-nav {
            display: none !important;
            visibility: hidden !important;
            opacity: 0 !important;
            pointer-events: none !important;
            position: absolute !important;
            left: -9999px !important;
            top: -9999px !important;
            width: 0 !important;
            height: 0 !important;
            overflow: hidden !important;
            clip: rect(0, 0, 0, 0) !important;
            margin: -1px !important;
            padding: 0 !important;
            border: 0 !important;
        }
    }
    
    /* Mobile-specific hamburger positioning */
    @media (max-width: 768px) {
        .main-header .container {
            position: relative !important;
        }
        
        .hamburger-menu {
            position: absolute !important;
            top: 50px !important;
            right: 15px !important;
            display: flex !important;
            z-index: 1002 !important;
        }
    }
    
    /* Hero Section Portrait Mode Fixes */
    .hero {
        min-height: 400px !important;
        padding: 40px 20px !important;
        text-align: center !important;
    }
    
    .hero h1 {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
        padding: 0 10px !important;
    }
    
    .hero p {
        font-size: 1.1rem !important;
        margin-bottom: 30px !important;
        padding: 0 10px !important;
    }
    
    .hero-buttons {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: center !important;
    }
    
    .hero-buttons .btn {
        width: 200px !important;
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
    }
    
    /* Section Spacing Fixes */
    .about-us,
    .services-overview,
    .projects-overview,
    .contact-preview {
        margin: 20px auto !important;
        padding: 25px 20px !important;
        max-width: calc(100% - 20px) !important;
    }
    
    /* Service Grid Portrait Mode */
    .services-overview .service-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        margin: 10px 0 !important;
    }
    
    .service-item {
        padding: 20px 15px !important;
        margin-bottom: 10px !important;
    }
    
    .service-item h3 {
        font-size: 1.2rem !important;
        margin-bottom: 10px !important;
    }
    
    .service-item p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }
    
    /* Services Page - Reduce Empty Space */
    .service-category .service-grid {
        gap: 15px !important;
        margin: 10px 0 !important;
    }
    
    .service-category .service-item {
        margin-bottom: 10px !important;
    }
    
    .service-category {
        margin-bottom: 20px !important;
    }
    
    /* Portfolio Page - Full Width Cards on Mobile */
    .project-list-item {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 15px !important;
        margin-bottom: 15px !important;
    }
    
    .portfolio-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px 12px !important;
        margin-bottom: 12px !important;
        border-radius: 10px !important;
        min-height: 70px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .project-info h3 {
        font-size: 1.2rem !important;
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
    }
    
    .project-info p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }
    
    /* Mobile Projects Section - Improved Styling */
    .projects-section {
        padding: 20px 15px !important;
    }
    
    .projects-title {
        font-size: 2rem !important;
        color: #2563eb !important;
        font-weight: 700 !important;
        text-align: center !important;
        margin-bottom: 10px !important;
    }
    
    .title-underline {
        height: 3px !important;
        background: linear-gradient(90deg, #2563eb, #3b82f6) !important;
        width: 60px !important;
        margin: 0 auto 15px !important;
        border-radius: 2px !important;
    }
    
    .projects-intro .intro-text {
        font-size: 1rem !important;
        color: #6c757d !important;
        text-align: left !important;
        line-height: 1.6 !important;
        margin-bottom: 30px !important;
    }
    
    .project-list {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .project-list-item {
        background: white !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
        padding: 25px 20px !important;
        margin-bottom: 20px !important;
        border: none !important;
        transition: all 0.3s ease !important;
    }
    
    .project-list-item:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
        background: white !important;
        padding-left: 20px !important;
        border-left: none !important;
    }
    
    .project-info h3 {
        font-size: 1.3rem !important;
        font-weight: 700 !important;
        color: #2c3e50 !important;
        margin-bottom: 12px !important;
        line-height: 1.3 !important;
    }
    
    .project-info p {
        font-size: 1rem !important;
        color: #6c757d !important;
        line-height: 1.6 !important;
        margin: 0 !important;
    }
    
    .card-header h3 {
        font-size: 1.1rem !important;
        margin-bottom: 6px !important;
        font-weight: 600 !important;
        text-align: center !important;
    }
    
    .card-header p {
        font-size: 0.85rem !important;
        line-height: 1.3 !important;
        text-align: center !important;
        opacity: 0.9 !important;
    }
    
    .card-header {
        width: 100% !important;
        text-align: center !important;
    }
    
    /* Contact Page Specific - Logo Centering for Mobile Only */
    body.contact-page .main-header .logo {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    body.contact-page .main-header .logo img {
        height: 50px !important;
        max-width: 50px !important;
        margin: 0 auto !important;
        display: block !important;
    }
    
    body.contact-page .main-header .logo-text {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
        margin-top: 10px !important;
    }
    
    /* Contact Page Company Card Logo Centering - Mobile Only */
    body.contact-page .company-logo {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin-bottom: 15px !important;
    }
    
    body.contact-page .company-logo img {
        margin: 0 auto !important;
        display: block !important;
        height: 60px !important;
        width: auto !important;
    }
    
    body.contact-page .company-details {
        text-align: center !important;
        width: 100% !important;
    }
    
    body.contact-page .company-details h2 {
        text-align: center !important;
        margin-bottom: 10px !important;
    }
    
    body.contact-page .company-tagline {
        text-align: center !important;
        margin-bottom: 15px !important;
    }
    
    body.contact-page .company-description {
        text-align: center !important;
    }
    

    
    /* Feature Grid Portrait Mode */
    .project-features,
    .contact-features {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        margin: 20px 0 !important;
    }
    
    .feature-item {
        padding: 15px 10px !important;
        text-align: center !important;
    }
    
    .feature-text {
        font-size: 0.85rem !important;
    }
    
    /* Typography Portrait Mode */
    h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }
    
    h2 {
        font-size: 1.6rem !important;
        line-height: 1.3 !important;
    }
    
    h3 {
        font-size: 1.3rem !important;
        line-height: 1.4 !important;
    }
    
    p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }
}
    
    /* Button Optimization */
    .btn {
        min-height: 44px !important;
        min-width: 44px !important;
        touch-action: manipulation !important;
    }
    
    /* Form Optimization */
    input, textarea, select {
        font-size: 16px !important;
        min-height: 44px !important;
    }
    
    /* Animation Performance */
    * {
        will-change: auto !important;
        backface-visibility: visible !important;
    }
    
    /* Smooth Scrolling */
    html {
        scroll-behavior: smooth !important;
    }
}

/* ========== TOUCH DEVICE OPTIMIZATION ========== */
@media (hover: none) and (pointer: coarse) {
    /* Touch Device Specific */
    .service-item:hover,
    .about-card:hover,
    .modern-card:hover,
    .feature-item:hover,
    .project-item:hover {
        transform: none !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    }
    
    /* Active States for Touch */
    .service-item:active,
    .about-card:active,
    .modern-card:active,
    .feature-item:active,
    .project-item:active {
        transform: scale(0.98) !important;
        transition: transform 0.1s ease !important;
    }
}

/* ========== HIGH DPI DISPLAY OPTIMIZATION ========== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* High DPI Images */
    .service-image,
    .project-image,
    .hero {
        image-rendering: -webkit-optimize-contrast !important;
        image-rendering: crisp-edges !important;
    }
}

/* ========== PRINT OPTIMIZATION ========== */
@media print {
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    .main-header,
    .main-footer,
    .hero-buttons {
        display: none !important;
    }
    
    .container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}





