/* ================= Global Styles ================= */
/* Font Change: Switched from Cairo to Tajawal */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap');

/* Color Palette Change: Adopted a new professional theme (Cool Blue/Teal) */
:root {
    --primary-color: #0D47A1;      /* New - Cool Dark Blue */
    --secondary-color: #1DE9B6;   /* New - Bright Teal */
    --accent-color: #FFAB40;     /* New - Light Orange */
    --light-color: #f8f9fa;       /* Kept */
    --dark-color: #263238;       /* New - Dark Grey-Blue */
    --text-color: #455A64;       /* New - Grey-Blue */
    --heading-color: #37474F;    /* New - Darker Grey-Blue */
    --white-color: #ffffff;       /* Kept */
    --border-color: #dee2e6;      /* Kept */
    /* Shadow Change: Slightly softer shadow */
    --shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    /* Gradient Change: Updated to match new primary color */
    --gradient: linear-gradient(135deg, var(--primary-color), #42A5F5);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

/* Font Change: Applied Tajawal and base weight */
body {
    font-family: 'Tajawal', sans-serif;
    font-weight: 400; /* Base weight */
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color); /* Updated via root */
    background-color: var(--white-color);
    direction: rtl;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700; /* Tajawal bold */
    color: var(--heading-color); /* Updated via root */
    line-height: 1.3;
    margin-bottom: 0.8rem;
}

/* Font sizes remain, adjust if needed */
h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color); /* Updated via root */
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color); /* Updated via root */
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-color);
}

.text-center {
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header h2 {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
/* Section header underline uses the new secondary color */
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color); /* Updated via root */
    border-radius: 2px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: #6c757d; /* Kept this specific grey or use var(--text-color) */
}

/* ================= Buttons ================= */
.btn {
    display: inline-block;
    padding: 12px 30px;
    /* Shape Change: Reduced border-radius */
    border-radius: 6px;
    font-weight: 500; /* Tajawal medium weight */
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient); /* Updated via root */
    color: var(--white-color);
    /* Shadow Change: Adjusted shadow color and intensity */
    box-shadow: 0 4px 10px rgba(13, 71, 161, 0.25); /* Shadow matching new primary color */
}
.btn-primary:hover {
    transform: translateY(-3px);
     /* Shadow Change: Adjusted hover shadow */
    box-shadow: 0 6px 15px rgba(13, 71, 161, 0.35);
    color: var(--white-color);
}

.btn-secondary {
    background-color: var(--secondary-color); /* Updated via root (Teal) */
    color: var(--dark-color); /* Use dark color for text on light teal */
    /* Consider adding a subtle shadow */
    /* box-shadow: 0 2px 5px rgba(29, 233, 182, 0.2); */
}
.btn-secondary:hover {
    background-color: #00bfa5; /* Slightly darker Teal */
    transform: translateY(-3px);
    color: var(--dark-color);
     /* box-shadow: 0 4px 10px rgba(29, 233, 182, 0.3); */
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color); /* Updated via root */
    border: 2px solid var(--primary-color); /* Updated via root */
}
.btn-outline:hover {
    background: var(--primary-color); /* Updated via root */
    color: var(--white-color);
}

/* ================= Header Styles ================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Added transition for shadow */
}

/* Sticky header style from JS (can be predefined here too) */
/* header.scrolled {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
} */

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

/* Logo styling will inherit colors from :root via .logo-text and .logo-dot rules below */
.logo img { /* Keep if image logo is sometimes used */
    max-height: 45px;
}

.nav-content { /* Wrapper for mobile */
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links { /* Common for desktop/mobile UL */
    display: flex;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links a {
    font-weight: 500; /* Tajawal medium weight */
    color: var(--heading-color); /* Updated via root */
    padding: 5px 0;
    position: relative;
}
/* Nav link underline uses new secondary color */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    right: 0;
    background-color: var(--secondary-color); /* Updated via root */
    transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-color); /* Updated via root */
    cursor: pointer;
}

/* ================= Hero Section ================= */
.hero {
    background: var(--gradient); /* Updated via root */
    color: var(--white-color);
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

/* Adjusted decorative elements for new palette */
.hero::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.04); /* Subtler white */
    border-radius: 50%;
    opacity: 0.6;
}
.hero::after {
    content: '';
    position: absolute;
    top: 50px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: rgba(29, 233, 182, 0.08); /* Teal with low opacity */
    border-radius: 50%;
    opacity: 0.7;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    color: var(--white-color);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero .btn {
    margin-left: 10px;
}
.hero .btn-outline {
    border-color: var(--white-color);
    color: var(--white-color);
}
.hero .btn-outline:hover {
    background-color: var(--white-color);
    color: var(--primary-color); /* Updated via root */
}

.hero-graphic {
    max-width: 450px;
}
.hero-graphic img {
     animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}


/* ================= Services Section ================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--white-color);
    padding: 35px 30px;
    /* Shape Change: Reduced border-radius */
    border-radius: 6px;
    text-align: center;
    box-shadow: var(--shadow); /* Updated via root */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-8px);
    /* Shadow Change: Adjusted hover shadow */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin-bottom: 20px;
    display: inline-block;
}
.service-icon img {
    max-height: 60px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color); /* Updated via root */
}

/* ================= Features Section ================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background-color: var(--white-color);
    /* Shape Change: Reduced border-radius */
    border-radius: 6px;
    border: 1px solid #e9ecef; /* Kept or use var(--border-color) */
}

.feature-icon {
    font-size: 1.8rem;
    color: var(--secondary-color); /* Updated via root (Teal) */
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.feature-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: var(--primary-color); /* Updated via root */
}
.feature-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ================= CTA Section ================= */
.cta {
    background: var(--gradient); /* Updated via root */
    color: var(--white-color);
}
.cta h2 {
    color: var(--white-color);
    margin-bottom: 1rem;
}
.cta p {
    margin-bottom: 2rem;
    opacity: 0.9;
    font-size: 1.1rem;
}
/* CTA button uses inverted style */
.cta .btn-primary {
    background: var(--white-color);
    color: var(--primary-color); /* Updated via root */
    /* Shadow Change: Adjusted shadow for light button */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.cta .btn-primary:hover {
    background: var(--light-color);
    color: var(--primary-color); /* Ensure color remains */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}


/* ================= Footer Styles ================= */
/* Footer uses the new primary color background */
footer {
    background-color: var(--primary-color); /* New primary color */
    color: #e0e0e0; /* Light gray text - works well on dark blue */
    padding: 60px 0 20px 0;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

/* Footer logo text/dot colors adjusted below in .logo section */
.footer-logo img {
    max-height: 50px;
    margin-bottom: 15px;
}

.footer-about p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    color: #e0e0e0; /* Kept */
}

.social-links a {
    color: #e0e0e0; /* Kept */
    font-size: 1.3rem;
    margin-left: 15px;
    transition: color 0.3s ease;
}
.social-links a:hover {
    color: var(--secondary-color); /* Updated via root (Teal) */
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white-color); /* Kept */
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}
.footer-links ul li a {
    color: #e0e0e0; /* Kept */
}
.footer-links ul li a:hover {
    color: var(--white-color); /* Kept */
    padding-right: 5px;
}

.footer-contact p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e0e0e0; /* Kept */
}
/* Footer contact icons use new secondary color */
.footer-contact p i {
    color: var(--secondary-color); /* Updated via root (Teal) */
    width: 15px;
}
.footer-contact a {
    color: #e0e0e0; /* Kept */
}
.footer-contact a:hover {
     color: var(--white-color); /* Kept */
}

footer hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15); /* Slightly more visible */
    margin: 30px 0;
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    color: #b0bec5; /* Kept - light blue-grey */
}

/* ================= Animations on Scroll ================= */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ================= Header Layout Styles (Adjusted for Clarity) ================= */
/* This section contains the refined header structure from your previous code */
/* It should work fine with the new theme as colors are variable-driven */
header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

.nav-left-group {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Desktop Nav Links */
.desktop-nav-links {
    display: flex; /* Ensure it's flex for desktop */
    gap: 30px;
}

/* Common Nav Link Styles */
.nav-links a {
    font-weight: 500; /* Tajawal medium */
    color: var(--heading-color);
    padding: 5px 0;
    position: relative;
    display: block; /* Good for padding/hover */
}

/* Desktop Underline Effect */
.desktop-nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    right: 0;
    background-color: var(--secondary-color); /* Updated via root */
    transition: width 0.3s ease;
}
.desktop-nav-links a:hover::after,
.desktop-nav-links a.active::after {
    width: 100%;
}

.nav-right-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-color); /* Updated via root */
    cursor: pointer;
    line-height: 1;
    padding: 5px;
}

/* Mobile Menu Container */
.mobile-nav-content {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white-color);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    padding: 15px 20px;
    flex-direction: column;
    align-items: center;
    gap: 0;
    z-index: 1050;
    border-top: 1px solid var(--border-color);
}
.mobile-nav-content.mobile-menu-open {
    display: flex; /* Show menu */
}

/* Mobile Menu Links */
.mobile-nav-content .nav-links {
    flex-direction: column;
    text-align: center;
    gap: 0;
    width: 100%;
    margin-bottom: 15px;
}
.mobile-nav-content .nav-links li {
    width: 100%;
}
.mobile-nav-content .nav-links a {
    padding: 10px 0;
    border-bottom: 1px solid var(--light-color);
}
.mobile-nav-content .nav-links li:last-child a {
    border-bottom: none;
}
.mobile-nav-content .nav-links a::after { display: none; } /* Hide underline on mobile */

/* Mobile Menu CTA */
.mobile-nav-content .nav-cta {
    width: 80%;
    max-width: 250px;
    text-align: center;
}

/* ================= Text Logo Styles ================= */
/* These use variables, so colors update automatically */
.logo {
    text-decoration: none;
    display: inline-block;
    line-height: 1;
}

.logo .logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color); /* Updated via root */
}

.logo .logo-dot {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color); /* Updated via root */
}

/* Footer Logo Specifics */
footer .logo {
    display: block;
    margin-bottom: 15px;
    text-align: center;
}
footer .logo .logo-text {
    font-size: 1.6rem;
    color: var(--white-color); /* White on dark footer */
}
footer .logo .logo-dot {
    font-size: 1.8rem;
    color: var(--secondary-color); /* Teal dot on dark footer */
}


/* ================= Projects Page Styles ================= */
.page-header {
    background: var(--gradient); /* Updated via root */
    color: var(--white-color);
    padding: 80px 0 60px 0; /* Adjusted padding */
    text-align: center; /* Center align header text */
}
.page-header h1 {
    color: var(--white-color);
    margin-bottom: 10px;
}
.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.project-card {
    background-color: var(--white-color);
    /* Shape Change: Reduced border-radius */
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow); /* Updated via root */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
     /* Shadow Change: Adjusted hover shadow */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.project-video-container {
    position: relative;
    background-color: #eee;
    line-height: 0;
}

.project-video-container video,
.project-video-container img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* Play button overlay uses new secondary color */
.project-video-container .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(29, 233, 182, 0.8); /* Teal overlay */
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    z-index: 10;
}
.project-video-container:hover .play-button {
    background-color: var(--secondary-color); /* Solid Teal on hover */
    transform: translate(-50%, -50%) scale(1.1);
}

.project-info {
    padding: 20px 25px;
    flex-grow: 1;
    border-top: 1px solid var(--border-color);
}

.project-info h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
    color: var(--primary-color); /* Updated via root */
}

.project-info p {
    font-size: 0.95rem;
    color: var(--text-color); /* Updated via root */
    margin-bottom: 0;
}

/* ================= Contact Page Styles ================= */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    align-items: start;
}

.contact-form-container h3,
.contact-info-container h3 {
    margin-bottom: 10px;
    color: var(--primary-color); /* Updated via root */
}

.contact-form-container p,
.contact-info-container p:first-of-type {
    margin-bottom: 30px;
    color: #6c757d; /* Specific grey or use var(--text-color) */
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500; /* Tajawal medium */
    color: var(--heading-color); /* Updated via root */
    font-size: 0.95rem;
}

/* Required asterisk uses new accent color */
.contact-form label .required {
    color: var(--accent-color); /* Updated via root (Orange) */
    font-weight: normal;
    margin-right: 3px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    /* Shape Change: Reduced border-radius */
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Tajawal', sans-serif; /* Ensure font is applied */
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fdfdfd;
}
/* Focus ring uses new primary color */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color); /* Updated via root */
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.15); /* Adjusted color */
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .submit-btn {
    width: auto;
    padding: 12px 35px;
    margin-top: 10px;
}


/* Contact Info Section */
.contact-info-list {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

/* Info icons use new secondary color */
.info-icon {
    font-size: 1.5rem;
    color: var(--secondary-color); /* Updated via root (Teal) */
    margin-top: 5px;
    flex-shrink: 0;
    width: 25px;
    text-align: center;
}

.info-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: var(--heading-color); /* Updated via root */
}

.info-item p {
    margin-bottom: 0;
    color: var(--text-color); /* Updated via root */
    line-height: 1.6;
}
.info-item a {
    color: var(--primary-color); /* Updated via root */
    word-break: break-word;
}
.info-item a:hover {
    color: var(--secondary-color); /* Updated via root */
}

/* Map Container */
.map-container {
    /* Shape Change: Reduced border-radius */
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow); /* Updated via root */
    border: 1px solid var(--border-color);
}
.map-container iframe {
    display: block; /* Prevent extra space below map */
    width: 100%;
    border: 0;
}

/* Contact Form Success Message (Kept original green colors for standard feedback) */
.form-success-message {
    border: 1px solid #a8d5ba;
    background-color: #eaf7f0;
    color: #1e462b;
    padding: 25px 30px;
    border-radius: 8px; /* Can match other radii like 6px if preferred */
    text-align: center;
    margin-top: 20px;
    animation: fadeIn 0.5s ease-out;
    display: none; /* Hidden by default */
}
.form-success-message .success-icon {
    font-size: 2.5rem;
    color: #34a853;
    margin-bottom: 15px;
    display: block;
}
.form-success-message h4 {
    color: #163821;
    margin-bottom: 8px;
    font-size: 1.3rem;
}
.form-success-message p {
    margin-bottom: 0;
    font-size: 1rem;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ================= Responsive Styles ================= */
@media (max-width: 992px) {
    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.8rem; }
    .hero h1 { font-size: 2.6rem; }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
        margin-bottom: 30px;
    }
    .hero-graphic {
        max-width: 350px;
    }
    .contact-grid {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    body { font-size: 15px; }
    .section-padding { padding: 60px 0; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .hero h1 { font-size: 2.2rem; }

    /* --- Mobile Header Adjustments --- */
    .desktop-nav-links,
    .desktop-nav-cta {
        display: none; /* Hide desktop elements */
    }

    .mobile-menu-toggle {
        display: block; /* Show mobile toggle */
         order: 1; /* Ensure it's on the right in LTR/left in RTL visually */
    }
  
     /* Logo might need slight size adjustment */
     .logo .logo-text { font-size: 1.6rem; }
     .logo .logo-dot { font-size: 1.8rem; }


    /* --- Other Mobile Styles --- */
    .hero { min-height: auto; padding: 120px 0 60px 0; }

    .features-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; gap: 30px; }
    .project-info { padding: 15px 20px; }
    .page-header h1 { font-size: 1.8rem; }
    .page-header p { font-size: 1rem; }

    .contact-grid { grid-template-columns: 1fr; }
    .contact-info-container { margin-top: 40px; }

    .footer-content { grid-template-columns: 1fr; text-align: center;}
    .footer-about .social-links { justify-content: center; }
    .footer-links ul { padding: 0; }
    /* Center footer contact info */
    .footer-contact { text-align: center; }
    .footer-contact p { justify-content: center; }
    /* Footer logo already centered via text-align in its rule */
}