/* 
    We Way - Design System & Styles
    Colors: Blue, White, Pale Green
    Typography: Outfit
*/

:root {
    /* Color Palette */
    --primary-blue: #0b3469; /* Deep blue from logo */
    --primary-blue-dark: #072248;
    --primary-white: #ffffff;
    --secondary-green: #e6f4ea; /* Pale green */
    --accent-green: #a4e5bc;
    --dark-green: #2a5a40; /* Used for text on pale green */
    --text-main: #333333;
    --text-light: #666666;
    --bg-light: #f8faff;
    
    /* Typography */
    --font-main: 'Outfit', sans-serif;
    
    /* Effects */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px rgba(11, 52, 105, 0.05);
    --shadow-md: 0 10px 20px rgba(11, 52, 105, 0.08);
    --shadow-lg: 0 20px 40px rgba(11, 52, 105, 0.12);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-blue);
}

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

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center { text-align: center; }
.text-white { color: var(--primary-white) !important; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all var(--transition-smooth);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--primary-white);
    box-shadow: 0 4px 15px rgba(11, 52, 105, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 52, 105, 0.3);
}

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

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

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

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

/* Typography Utilities */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.title-underline {
    height: 4px;
    width: 60px;
    background-color: var(--accent-green);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.title-underline.center {
    margin: 0 auto 1.5rem auto;
}

.title-underline.white {
    background-color: var(--primary-white);
    opacity: 0.8;
}

.lead {
    font-size: 1.25rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all var(--transition-smooth);
    background-color: transparent;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

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

/* Logo specific styling based on image */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
}

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

.header.scrolled .logo-text {
    color: var(--primary-blue);
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-list a {
    font-weight: 500;
    color: var(--primary-white);
    position: relative;
    padding: 0.5rem 0;
}

.header.scrolled .nav-list a {
    color: var(--primary-blue);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-green);
    transition: width var(--transition-smooth);
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary-white);
    position: relative;
    transition: background-color var(--transition-fast);
}

.header.scrolled .hamburger {
    background-color: var(--primary-blue);
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: inherit;
    left: 0;
    transition: transform var(--transition-smooth);
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 52, 105, 0.9) 0%, rgba(11, 52, 105, 0.4) 100%);
    z-index: -1;
}

.hero-content {
    color: var(--primary-white);
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 600px;
}

.hero .subtitle {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(230, 244, 234, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--primary-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero .highlight {
    color: var(--accent-green);
    position: relative;
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-buttons .btn-outline {
    color: var(--primary-white);
    border-color: var(--primary-white);
}

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

/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features-list {
    margin-top: 2rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 1.1rem;
}

.icon-check {
    color: var(--accent-green);
    background-color: var(--primary-blue);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    font-weight: bold;
    font-style: normal;
}

.about-image-wrapper {
    position: relative;
    height: 100%;
    min-height: 400px;
    background: url('assets/images/building_vibrant.jpg') center/cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.glass-card {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(248, 250, 250, 0.95);
    backdrop-filter: blur(12px);
    padding: 2.5rem 2rem;
    border-radius: 0 24px 0 0;
    box-shadow: 10px -10px 30px rgba(0, 0, 0, 0.05);
    border: none;
    max-width: 320px;
}

.glass-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background-color: var(--primary-white);
}

.section-header {
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.service-card {
    background-color: var(--primary-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.05);
}

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

.service-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 52, 105, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity var(--transition-smooth);
    backdrop-filter: blur(2px);
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-info {
    padding: 1.5rem;
    text-align: center;
}

.service-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.service-info p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: var(--primary-blue);
    color: var(--primary-white);
    position: relative;
    overflow: hidden;
}

/* Pattern overlay for contact */
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at right, rgba(164, 229, 188, 0.1) 0%, transparent 60%);
    z-index: 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 1;
    align-items: center;
}

.contact-desc {
    margin-bottom: 3rem;
    opacity: 0.9;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    backdrop-filter: blur(5px);
}

.contact-item h4 {
    color: var(--accent-green);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.contact-item p {
    margin: 0;
    opacity: 0.9;
}

.contact-form-wrapper {
    background-color: var(--primary-white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    color: var(--text-main);
}

.contact-form h3 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
    background-color: #fcfcfc;
}

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

/* Footer */
.footer {
    background-color: var(--primary-blue-dark);
    color: var(--primary-white);
    padding: 4rem 0 2rem 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo-text {
    color: var(--primary-white);
}

.footer-brand p {
    opacity: 0.7;
    max-width: 300px;
}

.footer h4 {
    color: var(--primary-white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    opacity: 0.7;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-green);
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .about-container { grid-template-columns: 1fr; }
    .about-image-wrapper { min-height: 300px; margin-top: 2rem; }
    .glass-card { bottom: 20px; left: 20px; }
    .contact-container { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--primary-blue);
        padding: 80px 2rem;
        transition: right var(--transition-smooth);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .nav.active { right: 0; }
    
    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-list a {
        font-size: 1.2rem;
        color: var(--primary-white);
    }
    
    .header.scrolled .nav-list a {
        color: var(--primary-white);
    }

    .mobile-menu-toggle { display: block; }
    .header-cta { display: none; }
    
    .hero h1 { font-size: 2.5rem; }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
