/* EcoPhil Energy Limited - CSS Styles */

/* CSS Custom Properties (Variables) */
:root {
    /* EcoPhil Brand Colors */
    --primary-blue: #1e75a8;
    --secondary-green: #5dc98c;
    --dark-gray: #29272c;
    --forest-green: #2d9967;
    --navy-blue: #184883;
    --medium-gray: #4c4f50;
    --charcoal: #43424d;
    --sage-green: #8aac6a;
    --bright-green: #58b644;
    --gray-accent: #5c585c;
    
    /* Additional Colors */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --success: var(--secondary-green);
    --warning: #ffc107;
    --danger: #dc3545;
    
    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-secondary: 'Arial', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Breakpoints */
    --mobile: 768px;
    --tablet: 1024px;
    --desktop: 1200px;
    
    /* Shadows */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: var(--spacing-sm);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-medium);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--forest-green));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(30, 117, 168, 0.1);
    z-index: 1000;
    transition: var(--transition-medium);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-light);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.logo-img {
    height: 100px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-link {
    font-weight: 500;
    color: var(--dark-gray);
    transition: var(--transition-medium);
}

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

.nav-link.cta-button {
    background: linear-gradient(135deg, var(--primary-blue), var(--forest-green));
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 25px;
}

.nav-link.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    margin: 3px 0;
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(30, 117, 168, 0.05), rgba(93, 201, 140, 0.05));
    padding-top: 80px;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

.highlight {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--medium-gray);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--medium-gray);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-heavy);
}

.hero-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary-green);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.875rem;
    font-weight: 600;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-link {
    color: var(--primary-blue);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

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

/* Section Styles */
section {
    padding: var(--spacing-xxl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.about-text h3 {
    color: var(--primary-blue);
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
}

.about-features {
    margin-top: var(--spacing-xl);
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.feature i {
    color: var(--secondary-green);
    font-size: 1.5rem;
    margin-top: 5px;
}

.feature-content h4 {
    color: var(--dark-gray);
    margin-bottom: var(--spacing-xs);
}

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
}

.about-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(30, 117, 168, 0.9);
    color: var(--white);
    padding: var(--spacing-md);
    border-radius: 10px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.service-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: var(--transition-medium);
    position: relative;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--secondary-green);
}

.service-card.featured {
    border-color: var(--secondary-green);
    transform: scale(1.05);
}

.service-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-green);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 600;
}

.service-icon {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.service-icon i {
    font-size: 3rem;
    color: var(--primary-blue);
}

.service-title {
    text-align: center;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
}

.service-list {
    margin-bottom: var(--spacing-md);
}

.service-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
}

.service-list i {
    color: var(--secondary-green);
    font-size: 0.875rem;
}

.service-description {
    color: var(--medium-gray);
    margin-bottom: var(--spacing-lg);
}

.service-cta {
    color: var(--primary-blue);
    font-weight: 600;
    text-align: center;
    display: block;
    padding: var(--spacing-sm);
    border: 2px solid var(--primary-blue);
    border-radius: 5px;
    transition: var(--transition-medium);
}

.service-cta:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* Projects Section */
.projects {
    background: var(--light-gray);
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--spacing-xs) var(--spacing-lg);
    border: 2px solid var(--primary-blue);
    background: transparent;
    color: var(--primary-blue);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition-medium);
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xxl);
}

.project-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition-medium);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(30, 117, 168, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-md);
}

.project-stats {
    display: flex;
    gap: var(--spacing-md);
}

.project-stats .stat {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 600;
}

.project-content {
    padding: var(--spacing-lg);
}

.project-header {
    margin-bottom: var(--spacing-md);
}

.project-title {
    color: var(--dark-gray);
    margin-bottom: var(--spacing-xs);
}

.project-location {
    color: var(--medium-gray);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.project-description {
    color: var(--medium-gray);
    margin-bottom: var(--spacing-md);
}

.project-results {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
}

.result {
    text-align: center;
}

.result-value {
    display: block;
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.125rem;
}

.result-label {
    font-size: 0.75rem;
    color: var(--medium-gray);
}

.project-cta {
    color: var(--primary-blue);
    font-weight: 600;
    text-align: center;
    display: block;
    padding: var(--spacing-sm);
    border: 2px solid var(--primary-blue);
    border-radius: 5px;
    transition: var(--transition-medium);
}

.project-cta:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.success-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: 15px;
    box-shadow: var(--shadow-light);
}

.metric {
    text-align: center;
}

.metric i {
    color: var(--secondary-green);
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.metric-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.metric-label {
    font-size: 0.875rem;
    color: var(--medium-gray);
}

/* Calculator Section */
.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    background: var(--white);
    border-radius: 15px;
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-light);
}

.calculator-form h3,
.calculator-results h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.appliance-list {
    margin-bottom: var(--spacing-lg);
    max-height: 300px;
    overflow-y: auto;
}

.appliance-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm);
    background: var(--light-gray);
    border-radius: 5px;
    margin-bottom: var(--spacing-xs);
}

.appliance-info {
    flex: 1;
}

.appliance-name {
    font-weight: 600;
    color: var(--dark-gray);
}

.appliance-details {
    font-size: 0.875rem;
    color: var(--medium-gray);
}

.remove-appliance {
    background: var(--danger);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-appliance {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-sm);
    align-items: end;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition-medium);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.results-summary {
    background: var(--light-gray);
    padding: var(--spacing-lg);
    border-radius: 10px;
    margin-bottom: var(--spacing-lg);
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid #e0e0e0;
}

.result-item.total {
    border-bottom: 3px solid var(--primary-blue);
    font-weight: 700;
    color: var(--primary-blue);
}

.result-label {
    color: var(--medium-gray);
}

.result-value {
    font-weight: 600;
    color: var(--dark-gray);
}

.results-actions {
    display: flex;
    gap: var(--spacing-md);
}

/* Contact Section */
.contact {
    background: var(--light-gray);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
}

.contact-info h3,
.contact-form h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-lg);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.contact-item i {
    color: var(--secondary-green);
    font-size: 1.25rem;
    margin-top: 5px;
}

.contact-details h4 {
    color: var(--dark-gray);
    margin-bottom: var(--spacing-xs);
}

.contact-details p {
    color: var(--medium-gray);
    margin-bottom: var(--spacing-xs);
}

.form {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: 15px;
    box-shadow: var(--shadow-light);
}

.form-group {
    position: relative;
    margin-bottom: var(--spacing-lg);
}

.form-label {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    color: var(--medium-gray);
    transition: var(--transition-medium);
    pointer-events: none;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label,
.form-textarea:focus + .form-label,
.form-textarea:not(:placeholder-shown) + .form-label {
    top: -10px;
    left: var(--spacing-xs);
    font-size: 0.875rem;
    color: var(--primary-blue);
    background: var(--white);
    padding: 0 var(--spacing-xs);
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.footer-logo-img {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-green);
}

.footer-description {
    color: #ccc;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-medium);
}

.social-link:hover {
    background: var(--secondary-green);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--secondary-green);
    margin-bottom: var(--spacing-md);
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: #ccc;
    transition: var(--transition-medium);
}

.footer-links a:hover {
    color: var(--secondary-green);
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: var(--spacing-lg);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.copyright {
    color: #ccc;
}

.footer-bottom-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-bottom-links a {
    color: #ccc;
    font-size: 0.875rem;
    transition: var(--transition-medium);
}

.footer-bottom-links a:hover {
    color: var(--secondary-green);
}

.made-by {
    color: #ccc;
    font-size: 0.875rem;
    margin-left: 20px;
    font-style: italic;
    transition: var(--transition-medium);
}

.made-by:hover {
    color: var(--secondary-green);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideDown 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: var(--medium-gray);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1;
}

.modal-close:hover {
    color: var(--primary-blue);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-medium);
        padding: var(--spacing-lg) 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .calculator-container {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xxl: 2rem;
        --spacing-xl: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-results {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .success-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .add-appliance {
        grid-template-columns: 1fr;
    }
    
    .results-actions {
        flex-direction: column;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .nav-container {
        padding: var(--spacing-sm);
    }
    
    .hero-title {
        font-size: 1.75rem;
        margin-top: 70px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .service-card,
    .form {
        padding: var(--spacing-md);
    }
    
    .project-content {
        padding: var(--spacing-md);
    }
    
    .success-metrics {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none; }
.visible { display: block; }

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

.p-1 { padding: var(--spacing-sm); }
.p-2 { padding: var(--spacing-md); }
.p-3 { padding: var(--spacing-lg); }

/* Loading Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading {
    animation: spin 1s linear infinite;
}

/* Smooth Scrolling Enhancement */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus Styles for Accessibility */
.btn:focus,
.nav-link:focus,
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .hero-scroll,
    .btn,
    .modal {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: var(--spacing-lg) 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
}

/* Additional Page Styles */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary-blue), var(--forest-green));
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
}

.page-hero-content h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.page-hero-content p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.875rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-medium);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

/* Company Overview */
.company-overview {
    padding: var(--spacing-xxl) 0;
}

.overview-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xxl);
    align-items: start;
}

.overview-text h2 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
}

.overview-text p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    color: var(--medium-gray);
}

.overview-stats {
    display: grid;
    gap: var(--spacing-md);
}

.stat-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    transition: var(--transition-medium);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.stat-info {
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--medium-gray);
}

/* Mission & Vision */
.mission-vision {
    background: var(--light-gray);
    padding: var(--spacing-xxl) 0;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.mv-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition-medium);
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    color: var(--white);
    font-size: 2rem;
}

.mv-card h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
}

.mv-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

.mv-card ul {
    text-align: left;
    color: var(--medium-gray);
}

.mv-card li {
    margin-bottom: var(--spacing-xs);
}

/* Team Section */
.team {
    padding: var(--spacing-xxl) 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-xl);
}

.team-member {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition-medium);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.member-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

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

.team-member:hover .member-img {
    transform: scale(1.1);
}

.member-info {
    padding: var(--spacing-lg);
}

.member-info h4 {
    color: var(--primary-blue);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
}

.member-title {
    color: var(--secondary-green);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.member-description {
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.member-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.credential {
    background: var(--light-gray);
    color: var(--primary-blue);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Why Choose Us */
.why-choose-us {
    background: var(--light-gray);
    padding: var(--spacing-xxl) 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.advantage {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition-medium);
}

.advantage:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    color: var(--white);
    font-size: 1.75rem;
}

.advantage h4 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
}

.advantage p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--forest-green));
    color: var(--white);
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.cta-buttons .btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--white);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.cta-buttons .btn:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* Mobile Responsive Updates */
@media (max-width: 1024px) {
    .overview-content {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .overview-text h2 {
        font-size: 2rem;
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 100px 0 60px;
    }
    
    .page-hero-content h1 {
        font-size: 2rem;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .mv-card,
    .advantage {
        padding: var(--spacing-md);
    }
    
    .member-credentials {
        justify-content: center;
    }
}

/* Contact Page Styles */
.contact-methods {
    padding: 80px 0;
    background: var(--color-light-gray);
}

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

.contact-method {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.method-icon i {
    font-size: 30px;
    color: white;
}

.contact-method h3 {
    color: var(--color-dark);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.contact-method p {
    color: var(--color-text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

.method-btn {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 600;
}

.method-btn:hover {
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 117, 168, 0.3);
}

.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-info {
    background: var(--color-light-gray);
    padding: 40px;
    border-radius: 15px;
    height: fit-content;
}

.contact-info h3 {
    color: var(--color-dark);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.office-info {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.office-info:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.office-header h4 {
    color: var(--color-primary);
    margin-bottom: 20px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.office-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.detail-item i {
    color: var(--color-primary);
    font-size: 16px;
    margin-top: 2px;
    min-width: 20px;
}

.detail-item a {
    color: var(--color-primary);
    text-decoration: none;
}

.detail-item a:hover {
    text-decoration: underline;
}

.business-hours {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
}

.business-hours h4 {
    color: var(--color-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.emergency-note {
    background: var(--color-warning);
    color: var(--color-dark);
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.emergency-note i {
    color: #d4a036;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    color: var(--color-dark);
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.contact-form > p {
    color: var(--color-text-light);
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: white;
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--color-primary);
}

.form-label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--color-text-light);
    pointer-events: none;
    transition: all 0.3s ease;
    background: white;
    padding: 0 5px;
}

.form-input:focus + .form-label,
.form-input:valid + .form-label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    color: var(--color-primary);
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    line-height: 1.5;
    font-size: 14px;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-width: 20px;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-label a {
    color: var(--color-primary);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.btn-full {
    width: 100%;
    padding: 18px;
    font-size: 18px;
    margin-top: 10px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--color-light-gray);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 20px;
    margin-top: 60px;
}

.faq-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.faq-question {
    padding: 25px 30px;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: var(--color-light-gray);
}

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

.faq-question i {
    color: var(--color-primary);
    font-size: 18px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f9f9f9;
}

.faq-answer p {
    padding: 0 30px 25px;
    margin: 0;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Contact Page Mobile Responsive */
@media (max-width: 768px) {
    .contact-methods-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-method {
        padding: 30px 20px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info,
    .contact-form {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-answer p {
        padding: 0 20px 20px;
    }
    
    .office-details {
        gap: 12px;
    }
    
    .detail-item {
        gap: 12px;
    }
    
    .hours-item {
        flex-direction: column;
        gap: 5px;
    }
}
