/* === CSS Variables & Theme === */
:root {
    /* Triadic Color Scheme */
    --primary-color: #2E8B57;        /* Sea Green */
    --primary-light: #3CB371;        /* Medium Sea Green */
    --primary-dark: #1F5F3F;         /* Dark Sea Green */
    
    --secondary-color: #8B2E57;      /* Dark Magenta */
    --secondary-light: #B3396B;      /* Medium Magenta */
    --secondary-dark: #5F1F3F;       /* Deep Magenta */
    
    --accent-color: #2E578B;         /* Steel Blue */
    --accent-light: #396BB3;         /* Medium Blue */
    --accent-dark: #1F3F5F;          /* Deep Blue */
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --gray: #6C757D;
    --dark-gray: #343A40;
    --black: #212529;
    
    /* Gradient Backgrounds */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    --gradient-dark: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(0,0,0,0.6));
    
    /* Typography */
    --font-heading: 'Archivo Black', sans-serif;
    --font-body: 'Roboto', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-xxl: 4rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s ease;
    
    /* Shadows */
    --shadow-light: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-medium: 0 5px 25px rgba(0,0,0,0.15);
    --shadow-strong: 0 10px 40px rgba(0,0,0,0.2);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* === Global Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: var(--space-sm);
    color: var(--dark-gray);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: 1.4rem; }
h6 { font-size: 1.2rem; }

p {
    margin-bottom: var(--space-sm);
    font-size: 1.1rem;
    line-height: 1.7;
}

.subtitle {
    font-size: 1.3rem !important;
    font-weight: 300;
    margin-bottom: var(--space-lg);
    color: var(--gray);
}

/* === Global Button Styles === */
.btn, button, .button, input[type="submit"] {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    box-shadow: var(--shadow-light);
}

/* Primary Button */
.btn-primary, .button.is-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border: 2px solid transparent;
}

.btn-primary:hover, .button.is-primary:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-medium);
    color: var(--white);
}

/* Secondary Button */
.btn-secondary, .button.is-outlined {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover, .button.is-outlined:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* White Button */
.button.is-white {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.button.is-white:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    color: var(--white);
}

/* Large Button */
.btn-large, .button.is-large {
    padding: var(--space-md) var(--space-xl);
    font-size: 1.2rem;
    border-radius: var(--radius-md);
}


/* === Layout Components === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-xxl) 0;
    position: relative;
}

.section.has-background-light {
    background-color: var(--light-gray);
}

/* === Header/Navigation === */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: var(--space-sm) 0;
}

.navbar.is-transparent {
    background: rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar-brand .logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    text-decoration: none;
}

.navbar.is-transparent .logo-text {
    color: var(--white);
}

.navbar-item {
    color: var(--dark-gray);
    text-decoration: none;
    padding: var(--space-xs) var(--space-sm);
    position: relative;
    font-weight: 500;
}

.navbar.is-transparent .navbar-item {
    color: var(--white);
}

.navbar-item:hover {
    color: var(--primary-color);
}

.navbar.is-transparent .navbar-item:hover {
    color: var(--primary-light);
}

/* Mobile Navigation */
.navbar-burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: var(--space-xs);
}

.navbar-burger span {
    display: block;
    height: 2px;
    width: 20px;
    background: var(--dark-gray);
    margin: 3px 0;
}

.navbar.is-transparent .navbar-burger span {
    background: var(--white);
}

/* === Hero Section === */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
}

.hero.is-fullheight {
    height: 100vh;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    z-index: -1;
}

.hero-body {
    position: relative;
    z-index: 1;
    padding: var(--space-xxl) 0;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content .title {
    color: var(--white) !important;
    font-size: 4rem;
    margin-bottom: var(--space-md);
}

.hero-content .subtitle {
    color: var(--white) !important;
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
}

.hero-description {
    color: var(--white) !important;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

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

.hero-stats {
    position: absolute;
    bottom: var(--space-xl);
    left: 0;
    right: 0;
    z-index: 2;
}

.stat-widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-sm);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--white) !important;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--white) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === Portfolio Section === */
#portfolio {
    background: var(--light-gray);
}

.content-carousel {
    margin-top: var(--space-xl);
}

.carousel-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
    align-items: stretch;
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0 auto;
}

.card-content {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.card-content .title {
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
}

.room-stats {
    margin-top: auto;
    display: flex;
    gap: var(--space-xs);
    justify-content: center;
    flex-wrap: wrap;
}

.tag {
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag.is-primary { background: var(--primary-color); color: var(--white); }
.tag.is-info { background: var(--accent-color); color: var(--white); }
.tag.is-success { background: var(--primary-light); color: var(--white); }
.tag.is-warning { background: #FFC107; color: var(--dark-gray); }
.tag.is-danger { background: var(--secondary-color); color: var(--white); }

/* === Methodology Section === */
.methodology-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* === Customer Stories Section === */
#customer-stories {
    position: relative;
    overflow: hidden;
}

.section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    z-index: -1;
}

.testimonial-carousel .carousel-track {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.testimonial-author {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

/* === Clientele Section === */
.clientele-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* === Resources Section === */
.resource-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    border-left: 5px solid var(--primary-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.resource-card .button {
    margin-top: auto;
}

/* === Careers Section === */
.career-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.career-card .card-content {
    padding: var(--space-lg);
    text-align: center;
}

.career-card .button {
    margin-top: auto;
}

/* === Contact Section === */
#contact {
    position: relative;
}

.contact-form-container {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    border: 1px solid rgba(255,255,255,0.2);
}

.contact-form .field {
    margin-bottom: var(--space-md);
}

.contact-form .label {
    font-weight: 500;
    margin-bottom: var(--space-xs);
    display: block;
}

.contact-form .input,
.contact-form .textarea,
.contact-form .select select {
    width: 100%;
    padding: var(--space-sm);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    backdrop-filter: blur(10px);
}

.contact-form .input::placeholder,
.contact-form .textarea::placeholder {
    color: rgba(255,255,255,0.7);
}

.contact-form .input:focus,
.contact-form .textarea:focus,
.contact-form .select select:focus {
    outline: none;
    border-color: var(--primary-light);
    background: rgba(255,255,255,0.15);
}

.contact-info {
    margin-top: var(--space-xl);
}

.contact-item {
    padding: var(--space-md);
    text-align: center;
}

.contact-item .title {
    color: var(--white) !important;
    margin-bottom: var(--space-xs);
}

/* === Footer === */
.footer {
    background: var(--dark-gray) !important;
    padding: var(--space-xxl) 0 var(--space-xl) 0;
    position: relative;
}

.footer .title {
    color: var(--white) !important;
    margin-bottom: var(--space-md);
}

.footer p {
    color: #B0BEC5 !important;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: #B0BEC5 !important;
    text-decoration: none;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-light) !important;
}

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

.social-links a {
    color: #B0BEC5 !important;
    text-decoration: none;
    padding: var(--space-xs) var(--space-sm);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.social-links a:hover {
    color: var(--white) !important;
    border-color: var(--primary-color);
    background: rgba(46, 139, 87, 0.1);
}

.footer-divider {
    border: 0;
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: var(--space-xl) 0 var(--space-lg) 0;
}


/* === Success Page Styles === */
.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    position: relative;
}

.success-content {
    text-align: center;
    padding: var(--space-xxl);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255,255,255,0.2);
    max-width: 600px;
    margin: var(--space-lg);
}

.success-content .title {
    color: var(--white) !important;
    font-size: 3rem;
    margin-bottom: var(--space-lg);
}

.success-content p {
    color: var(--white) !important;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

/* === Privacy & Terms Pages === */
.privacy-page,
.terms-page {
    padding-top: 100px;
    min-height: 100vh;
}

.privacy-content,
.terms-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-xxl) var(--space-md);
}

.privacy-content .title,
.terms-content .title {
    color: var(--primary-color);
    margin-bottom: var(--space-xl);
    text-align: center;
}

.privacy-content h3,
.terms-content h3 {
    color: var(--primary-color);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.privacy-content p,
.terms-content p {
    margin-bottom: var(--space-md);
}

.privacy-content ul,
.terms-content ul {
    margin: var(--space-md) 0;
    padding-left: var(--space-lg);
}

.privacy-content li,
.terms-content li {
    margin-bottom: var(--space-xs);
}

/* === About Page === */
.about-page {
    padding-top: 100px;
}

.about-hero {
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--space-xxl) 0;
    text-align: center;
}

.about-hero .title {
    color: var(--white) !important;
    font-size: 3.5rem;
    margin-bottom: var(--space-md);
}

.about-hero .subtitle {
    color: var(--white) !important;
    font-size: 1.4rem;
}

.about-content {
    padding: var(--space-xxl) 0;
}

.team-member {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    box-shadow: var(--shadow-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto var(--space-md) auto;
}

.team-member .title {
    color: var(--primary-color);
    margin-bottom: var(--space-xs);
}

.team-member .subtitle {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: var(--space-sm);
}

/* === Contacts Page === */
.contacts-page {
    padding-top: 100px;
}

.contacts-hero {
    background: var(--gradient-accent);
    color: var(--white);
    padding: var(--space-xxl) 0;
    text-align: center;
}

.contacts-hero .title {
    color: var(--white) !important;
}

.contacts-hero .subtitle {
    color: var(--white) !important;
}

.contacts-content {
    padding: var(--space-xxl) 0;
}

.contact-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.contact-card .title {
    color: var(--primary-color);
    margin-bottom: var(--space-md);
}

.contact-form-section {
    background: var(--light-gray);
    padding: var(--space-xxl) 0;
}

.contact-form-section .contact-form {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
}

.contact-form-section .input,
.contact-form-section .textarea,
.contact-form-section .select select {
    background: var(--white);
    border: 2px solid #E0E0E0;
    color: var(--dark-gray);
}

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

.contact-form-section .label {
    color: var(--dark-gray);
}

/* === Read More Links === */
.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    position: relative;
}

.read-more:hover {
    color: var(--primary-dark);
}

.read-more:after {
    content: '→';
}

/* === Responsive Design === */
@media (max-width: 1024px) {
    .hero-content .title {
        font-size: 3rem;
    }
    
    .container {
        padding: 0 var(--space-sm);
    }
}

@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(15px);
        box-shadow: var(--shadow-medium);
    }
    
    .navbar-menu.is-active {
        display: block;
    }
    
    .navbar-burger {
        display: flex;
    }
    
    .hero-content .title {
        font-size: 2.5rem;
    }
    
    .hero-content .subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .carousel-track {
        grid-template-columns: 1fr;
    }
    
    .columns.is-multiline .column {
        width: 100% !important;
    }
    
    .social-links {
        justify-content: center;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.6rem; }
    
    .section {
        padding: var(--space-xl) 0;
    }
    
    .hero-stats {
        position: relative;
        margin-top: var(--space-xl);
    }
}

@media (max-width: 480px) {
    .hero-content .title {
        font-size: 2rem;
    }
    
    .hero-content .subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .contact-form-container {
        padding: var(--space-md);
    }
    
    .button.is-large {
        padding: var(--space-sm) var(--space-lg);
        font-size: 1rem;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus,
button:focus,
.button:focus,
.navbar-item:focus,
.input:focus,
.textarea:focus,
.select select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* === Print Styles === */
@media print {
    .navbar,
    .hero-stats,
    .footer {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
    }
    
    .card,
    .testimonial-card {
        break-inside: avoid;
    }
}