/* 
    HAL Contracting Est. Design System
    Premium, Professional, Dynamic
*/

:root {
    /* Colors */
    --primary-color: #b31b1b; /* Logo Red */
    --primary-dark: #8e1616;
    --secondary-color: #1e3a5f; /* Deep Navy */
    --accent-color: #3a7bd5;
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --bg-light: #f4f7f6;
    --bg-white: #ffffff;
    --bg-dark: #121d2b;
    --glass-bg: rgba(255, 255, 255, 0.85);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(179, 27, 27, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(179, 27, 27, 0.4);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.7rem 1.8rem;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 1rem 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('uploads/gallery/1 (19).jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.9) 0%, rgba(18, 29, 43, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 .highlight {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.rating {
    display: flex;
    flex-direction: column;
}

.stars {
    color: #f1c40f;
    font-size: 1.2rem;
}

.rating-text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Section Common */
section {
    padding: 100px 0;
    overflow-x: hidden; /* Prevent horizontal scroll from reveal animations */
}

.section-header {
    margin-bottom: 4rem;
}

.section-header.center {
    text-align: center;
}

.subtitle {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

/* About Section Redesign */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 6rem;
    align-items: center;
}

.about-image {
    position: relative;
    display: flex;
    flex-direction: column;
}

.img-wrapper.main-img {
    width: 85%;
    border-radius: 30px;
    z-index: 2;
}

.img-wrapper.secondary-img {
    width: 60%;
    position: absolute;
    bottom: -10%;
    right: 0;
    border-radius: 30px;
    border: 10px solid var(--bg-light);
    z-index: 1;
}

.floating-card {
    position: absolute;
    top: 20%;
    right: -10%;
    background: var(--primary-color);
    color: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(179, 27, 27, 0.3);
    text-align: center;
    z-index: 3;
}

.floating-card .count {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.floating-card p {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 5px;
}

.about-text .lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 1.5rem 0;
}

.text-primary { color: var(--primary-color); }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
}

.about-btns {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.btn-call {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--secondary-color);
}

.btn-call i {
    width: 45px;
    height: 45px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .img-wrapper.secondary-img {
        display: none;
    }
    
    .img-wrapper.main-img {
        width: 100%;
    }
    
    .floating-card {
        right: 2rem;
        top: auto;
        bottom: -2rem;
    }
}

/* Services Section */
.services {
    background-color: var(--secondary-color);
    color: white;
}

.services .section-header h2 {
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.service-content {
    padding: 2rem;
}

.service-content h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-list {
    margin-top: 1.5rem;
}

.service-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Clients (Marquee) */
.clients {
    padding: 50px 0;
    background: white;
    border-bottom: 1px solid #eee;
    overflow-x: hidden; /* Added to fix mobile overflow */
}

.client-track {
    display: flex;
    gap: 5rem;
    align-items: center;
    animation: scroll 30s linear infinite;
    width: max-content;
}

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

.client-track img {
    height: 80px;
    filter: grayscale(1);
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.client-track img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Projects Section (Industrial Showcase Redesign) */
.projects.dark-theme {
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.projects-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.white-text { color: white !important; }
.light-text { color: rgba(255, 255, 255, 0.7) !important; }

.projects-showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.project-tile {
    display: flex;
    align-items: center;
    gap: 4rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 30px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.project-tile:nth-child(even) {
    flex-direction: row-reverse;
}

.project-tile:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.tile-img {
    flex: 1;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.tile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-tile:hover .tile-img img {
    transform: scale(1.1);
}

.tile-content {
    flex: 1;
    padding-right: 2rem;
}

.project-tile:nth-child(even) .tile-content {
    padding-right: 0;
    padding-left: 2rem;
}

.tile-content .category {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 1rem;
}

.tile-content h3 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 1.5rem;
}

.tile-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.tile-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
}

.tile-link:hover {
    gap: 15px;
    color: var(--primary-color);
}

.projects-action {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-text {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .project-tile, .project-tile:nth-child(even) {
        flex-direction: column;
        gap: 2rem;
        padding: 1.5rem;
    }
    
    .tile-img {
        width: 100%;
        height: 300px;
    }
    
    .tile-content {
        padding: 0 !important;
    }
    
    .tile-content h3 {
        font-size: 1.8rem;
    }
}

/* Testimonials Section */
.testimonials {
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
}

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

.testimonial-card .quote {
    font-size: 5rem;
    color: var(--primary-color);
    position: absolute;
    top: 0;
    left: 1rem;
    opacity: 0.1;
    font-family: serif;
}

.testimonial-card p {
    font-style: italic;
    color: #555;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 1rem;
    margin: 0;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: #888;
}

/* FAQ Section (Modern Interactive Redesign) */
.faq-modern {
    background: var(--bg-light);
    padding: 100px 0;
}

.faq-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.faq-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.faq-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
}

.faq-item:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    user-select: none;
}

.faq-question .q-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.faq-item.open .faq-question .q-icon {
    background: var(--primary-color);
    color: white;
}

.faq-question h4 {
    flex: 1;
    font-size: 1.15rem;
    margin: 0;
    color: var(--secondary-color);
    font-weight: 600;
}

.toggle-icon {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .toggle-icon {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.answer-inner {
    padding: 0 2rem 2rem 5.5rem;
}

.answer-inner p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 1.2rem 1.5rem;
        gap: 1rem;
    }
    
    .faq-question .q-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .faq-question h4 {
        font-size: 1rem;
    }
    
    .answer-inner {
        padding: 0 1.5rem 1.5rem 4.5rem;
    }
}

/* Contact Section (Corporate Modern Redesign) */
.contact-modern {
    background: var(--bg-white);
    padding: 120px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 8rem;
    align-items: flex-start;
}

.contact-details-side h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.contact-details-side p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.method-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.method-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.method-card:hover .method-icon {
    background: var(--primary-color);
    color: white;
    transform: rotate(-10deg);
}

.method-info span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.method-info p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0;
}

.social-branding p {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.social-pill-group {
    display: flex;
    gap: 1rem;
}

.social-pill {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.social-pill:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

/* Modern Form */
.contact-form-side {
    background: white;
    padding: 4rem;
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.08);
}

.form-container h3 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--secondary-color);
}

.input-group {
    position: relative;
    margin-bottom: 2.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 15px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.input-group label {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.input-group textarea ~ label {
    top: 1.5rem;
    transform: none;
}

.input-group input:focus, .input-group textarea:focus {
    background: white;
    border-color: var(--primary-color);
    outline: none;
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: -12px;
    left: 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    background: white;
    padding: 0 5px;
}

.btn-submit {
    width: 100%;
    padding: 1.2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(179, 27, 27, 0.2);
    transition: var(--transition-smooth);
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 25px 50px rgba(179, 27, 27, 0.3);
}

@media (max-width: 1200px) {
    .contact-wrapper {
        gap: 4rem;
    }
}

@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 5rem;
    }
    
    .contact-details-side h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-side {
        padding: 2.5rem 1.5rem;
    }
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 50px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s forwards;
}

.fade-in-delayed {
    opacity: 0;
    animation: fadeIn 1s 0.5s forwards;
}

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive Redesign */
@media (max-width: 992px) {
    section {
        padding: 80px 0;
    }
    
    .about-grid, .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .about-image {
        order: -1;
    }
}

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

    /* Mobile Header & Menu */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        padding: 4rem 2rem;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 1000;
    }

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

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 700;
        display: block;
        padding: 1rem 0;
        color: var(--secondary-color);
    }

    .logo img {
        height: 28px;
        width: auto;
        max-width: 200px; /* Force small width on mobile */
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 1001;
    }

    .bar {
        width: 28px;
        height: 3px;
        background: white;
        border-radius: 3px;
        transition: 0.3s;
    }

    .scrolled .bar {
        background: var(--primary-color);
    }

    .menu-toggle.open .bar:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); background: var(--primary-color); }
    .menu-toggle.open .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.open .bar:nth-child(3) { transform: rotate(-45deg) translate(6px, -7px); background: var(--primary-color); }

    /* Hero */
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    /* About Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 1.5rem 0;
    }

    .about-btns {
        flex-direction: column;
        align-items: center; /* Centering for professional look */
        gap: 1.5rem;
        width: 100%;
    }

    .about-btns .btn-primary {
        width: 100%;
        text-align: center;
    }

    .btn-call {
        width: 100%;
        justify-content: center;
    }

    /* Contact Form Mobile Refinement */
    .contact-form-side {
        padding: 3rem 1.5rem;
        border-radius: 30px;
    }

    .form-container h3 {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 2rem;
    }

    .input-group {
        margin-bottom: 1.8rem;
    }

    .input-group input, .input-group textarea {
        padding: 1rem;
        background: #f8f9fa; /* Slightly lighter for better contrast on mobile */
        border: 1px solid #eee;
    }

    .input-group label {
        font-size: 0.95rem;
    }

    .btn-submit {
        padding: 1rem;
        font-size: 1rem;
    }

    /* Projects Mobile */
    .project-tile {
        border-radius: 20px;
    }

    .tile-img {
        height: 250px;
    }

    .tile-content h3 {
        font-size: 1.6rem;
    }

    /* Footer */
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .floating-card {
        padding: 1.5rem;
        width: auto;
        right: 1rem;
        bottom: -1rem;
    }

    .floating-card .count {
        font-size: 2.5rem;
    }
}
