@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('./forms.css');

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

:root {
    /* Brand Colors - Modernized */
    --primary-blue: #0056b3; /* Slightly deeper blue */
    --primary-orange: #ff6b00; /* Vibrant orange */
    --dark-blue: #003d80;
    --light-blue: #f0f7ff; /* Very light blue for backgrounds */
    
    /* Neutrals */
    --text-dark: #1a1f2c; /* Modern charcoal/black */
    --text-medium: #4a5568; /* Slate gray */
    --text-light: #718096; /* Light gray */
    --border-color: #e2e8f0; /* Soft border */
    --white: #ffffff;
    --gray-bg: #f8fafc; /* Cool gray background */
    --surface-hover: #f1f5f9;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    
    /* Spacing */
    --section-spacing: 80px;
    --container-padding: 24px;
}

/* Utilities */
.bg-gray {
    background-color: var(--gray-bg);
}

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

.mt-40 {
    margin-top: 40px;
}

.w-100 {
    width: 100%;
}

.d-none {
    display: none;
}

/* Form Helpers */
.form-help-text {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: var(--text-light);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: var(--text-medium);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-top {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 12px 0;
    font-size: 13px;
    font-weight: 500;
}

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

.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-top a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.2s;
}

.header-top a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.header-main {
    padding: 20px 0;
}

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

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-logo {
    display: none;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
    padding: 8px 0;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-orange);
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
}

.breadcrumb {
    background-color: var(--gray-bg);
    padding: 15px 0;
    font-size: 14px;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb-list li:not(:last-child)::after {
    content: "›";
    color: var(--text-light);
}

.breadcrumb-list a {
    color: var(--primary-blue);
    text-decoration: none;
}

.breadcrumb-list a:hover {
    text-decoration: underline;
}

.hero {
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.9) 0%, rgba(0, 61, 128, 0.9) 100%), url('../img/proyek-konstruksi-08.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 24px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--white);
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 32px;
    opacity: 0.95;
    font-weight: 500;
    color: var(--white);
}

.hero-description {
    font-size: 18px;
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0.9;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 50px; /* Pill shape */
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8c00 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.4);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-blue);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-orange);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.section {
    padding: var(--section-spacing) 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 40px;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-title p {
    font-size: 18px;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
}

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

.service-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 0;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-color: transparent;
}

.service-content {
    padding: 0;
    flex-grow: 1;
}

.service-icon {
    font-size: 48px;
    color: var(--primary-orange);
    margin: 24px 32px 16px 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--light-blue);
    border-radius: 50%;
}

.service-card h3, 
.service-card h2 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 12px;
    padding: 0 32px;
}

.service-card p {
    color: var(--text-medium);
    margin-bottom: 24px;
    line-height: 1.6;
    flex-grow: 1;
    padding: 0 32px;
}

.service-card a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s ease;
    margin-top: auto;
    padding: 0 32px 32px 32px;
}

.service-card a:hover {
    color: var(--primary-orange);
    gap: 10px;
}

.service-card .btn {
    display: block;
    width: auto;
    margin: auto 32px 32px 32px;
    padding: 12px 28px;
    font-size: 15px;
    text-align: center;
    border-radius: 50px;
    color: var(--white);
}

.service-card .btn:hover {
    color: var(--white);
}

.service-image {
    width: 100%;
    margin: 0;
    height: 220px;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 0;
    display: block;
}

.service-list {
    text-align: left;
    margin: 15px 0;
    padding-left: 50px;
}

.service-list li {
    margin-bottom: 8px;
    color: var(--text-medium);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 32px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.feature-icon {
    font-size: 40px;
    color: var(--primary-orange);
    margin-bottom: 20px;
    height: 80px;
    width: 80px;
    background: var(--light-blue);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.feature-item h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-item p {
    color: var(--text-medium);
    line-height: 1.6;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.step-item {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 32px 32px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 32px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8c00 100%);
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(255, 107, 0, 0.3);
}

.step-item h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 12px;
    margin-top: 10px;
}

.step-item p {
    color: var(--text-medium);
    line-height: 1.6;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.area-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-top: 4px solid var(--primary-blue);
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-orange));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.area-card ul {
    text-align: left;
    margin: 15px 0;
    padding-left: 20px;
}

.area-card li {
    margin-bottom: 8px;
    color: var(--text-medium);
}

.area-card:hover {
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.area-card h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.area-card p {
    color: var(--text-medium);
    margin-bottom: 20px;
}

.area-card a {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease;
}

.area-card a:hover {
    gap: 8px;
}

.area-card .btn {
    display: block;
    width: auto;
    margin-top: auto;
    padding: 12px 28px;
    font-size: 15px;
    text-align: center;
    border-radius: 50px;
    color: var(--white);
    gap: 8px;
}

.area-card .btn:hover {
    color: var(--white);
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8c00 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    font-size: 42px;
    margin-bottom: 24px;
    color: var(--white);
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.portfolio-item {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: transparent;
}

.portfolio-image {
    width: 100%;
    height: 260px;
    background-color: var(--gray-bg);
    overflow: hidden;
    position: relative;
    display: block;
}

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

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 24px;
}

.portfolio-content h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.portfolio-content p {
    color: var(--text-medium);
    font-size: 15px;
    line-height: 1.6;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    border-color: transparent;
}

.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-dark);
    background-color: var(--white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid var(--border-color);
}

.faq-question:hover,
.faq-question.active {
    background-color: var(--light-blue);
    color: var(--primary-blue);
}

.faq-question span:last-child {
    font-size: 24px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.faq-question.active span:last-child {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px 24px 24px;
    color: var(--text-medium);
    display: none; /* Hidden by default, toggled by JS */
    line-height: 1.7;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.blog-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: transparent;
}

.blog-image {
    width: 100%;
    height: 220px;
    background-color: var(--gray-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    overflow: hidden;
    position: relative;
}

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

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

.blog-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.blog-content h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.blog-content a {
    gap: 30px;
    margin-bottom: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

.contact-card {
    background-color: var(--white);
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.contact-icon {
    font-size: 40px;
    color: var(--primary-orange);
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: var(--light-blue);
    border-radius: 50%;
}

.contact-card h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.contact-card p {
    color: var(--text-medium);
    margin-bottom: 8px;
}

.contact-card a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact-card a:hover {
    color: var(--primary-orange);
}

.content-section {
    max-width: 900px;
    margin: 0 auto;
}

.content-section h2 {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 20px;
    margin-top: 40px;
}

.content-section h3 {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 15px;
    margin-top: 30px;
}

.content-section p {
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.8;
}

.content-section ul {
    margin-bottom: 20px;
    padding-left: 30px;
}

.content-section li {
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.8;
}

.highlight-box {
    background-color: var(--light-blue);
    border-left: 4px solid var(--primary-orange);
    padding: 20px;
    margin: 30px 0;
    border-radius: 12px;
}

.highlight-box p {
    margin-bottom: 0;
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 24px;
    }
}

/* Map Iframe */
.map-iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 50px 0 20px 0;
}

.footer .container {
    padding: 0;
}

@media (min-width: 769px) {
    .footer .container {
        max-width: 1200px;
        margin: 0 auto;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    padding: 0 var(--container-padding);
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary-orange);
}

.footer-section p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-section p i {
    margin-right: 8px;
    color: var(--primary-orange);
    width: 20px;
    display: inline-block;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px var(--container-padding);
    text-align: center;
    font-size: 14px;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

@media (max-width: 768px) {
    .areas-grid {
        grid-template-columns: 1fr;
    }

    .header-top .container {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .header-contact {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        padding: 24px 24px 40px;
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.15);
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        align-items: flex-start;
        gap: 0;
        overflow-y: auto;
    }

    .nav-logo {
        display: block;
        margin-bottom: 16px;
        padding-bottom: 16px;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
    }

    .nav-logo a {
        border-bottom: none;
        padding: 0;
    }

    .nav-logo img {
        height: 40px;
        width: auto;
    }

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

    .nav-menu a {
        display: block;
        width: 100%;
        padding: 16px 0;
        border-bottom: 1px solid var(--border-color);
        font-size: 16px;
    }

    .nav-menu a:hover::after {
        width: 0; /* Disable underline effect on mobile */
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 8px;
        background-color: var(--light-blue);
        color: var(--primary-blue);
    }

    .hero {
        padding: 80px 0 60px;
    }

    .hero h1 {
        font-size: 36px;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 24px;
    }
    
    .hero-description {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .section-title p {
        font-size: 16px;
    }

    /* Footer Mobile Enhancements */
    .footer-content {
        gap: 40px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3 {
        justify-content: center;
    }

    .whatsapp-float {
        width: 56px;
        height: 56px;
        font-size: 28px;
        bottom: 24px;
        right: 24px;
    }
    
    /* Full width buttons on mobile */
    .hero .btn,
    .cta-section .btn {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 640px) {
    .services-grid,
    .features-grid,
    .steps-grid,
    .areas-grid,
    .portfolio-grid,
    .blog-grid,
    .contact-info {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.gallery-item {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Video Container */
.video-container {
    margin: 30px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.video-container video {
    width: 100%;
    display: block;
}

/* Service Card Images */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 16px 16px 0 0;
    margin-bottom: 15px;
}

/* Portfolio Images */
.portfolio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 16px 16px 0 0;
    margin-bottom: 0;
}

.portfolio-item {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Blog Images */
.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 16px 16px 0 0;
}

/* Process Images */
.process-images {
    margin: 30px 0;
    text-align: center;
}

.process-images img {
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    display: block;
}

/* Process Images */

/* Legal Pages Styling */
.content-page {
    max-width: 900px;
    margin: 0 auto;
}

.content-page h1 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.content-page .text-muted {
    color: var(--text-medium);
    font-size: 14px;
    margin-bottom: 30px;
}

.content-section {
    margin-bottom: 40px;
}

.content-section h2 {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-blue);
}

.content-section p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-medium);
}

.content-section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.content-section ul li {
    line-height: 1.8;
    margin-bottom: 10px;
    color: var(--text-medium);
}

.content-section ul.contact-list {
    list-style: none;
    padding-left: 0;
}

.content-section ul.contact-list li {
    margin-bottom: 12px;
}

.content-section ul.contact-list i {
    color: var(--primary-orange);
    margin-right: 10px;
    width: 20px;
    display: inline-block;
}

.content-section a {
    color: var(--primary-blue);
    text-decoration: none;
}

.content-section a:hover {
    color: var(--primary-orange);
    text-decoration: underline;
}

.footer-bottom a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--primary-orange);
}

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

    .hero {
        padding: 50px 0;
    }

    .hero h1 {
        font-size: 26px;
    }

    .section {
        padding: 40px 0;
    }

    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img,
    .portfolio-image,
    .service-image,
    .blog-image {
        height: 200px;
    }
}
