/* ==========================================
   DESIGN TOKENS & RESET
   ========================================== */
:root {
    --bg-dark: #f0f8fa;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --primary: #0a2540;
    --primary-glow: rgba(10, 37, 64, 0.1);
    --accent: #00b4d8;
    --accent-glow: rgba(0, 180, 216, 0.15);
    --text-main: #0a2540;
    --text-muted: #4e6178;
    --border-color: rgba(10, 37, 64, 0.08);
    --border-hover: rgba(0, 180, 216, 0.4);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 16px;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

/* ==========================================
   REUSABLE UTILITIES & LAYOUT
   ========================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 6rem 0;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-blur {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: var(--transition);
}

.card-blur:hover {
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px -10px var(--primary-glow);
    transform: translateY(-4px);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.4);
}

.btn-secondary {
    background: rgba(10, 37, 64, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(10, 37, 64, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(240, 248, 250, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header.scrolled {
    padding: 0.6rem 0;
    background: rgba(240, 248, 250, 0.95);
    box-shadow: 0 4px 20px rgba(10, 37, 64, 0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-main);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 10px;
    color: #fff;
}

.logo-icon i {
    width: 22px;
    height: 22px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.nav-cta {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(20, 184, 166, 0.1) 100%);
    border: 1px solid var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    color: var(--text-main);
}

.nav-cta:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    border-color: transparent;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    font-size: 1.5rem;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    padding: 10rem 0 6rem;
    background-image: url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 90vh;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(240, 248, 250, 0.7) 0%, rgba(240, 248, 250, 0.95) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid rgba(0, 180, 216, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(10, 37, 64, 0.08);
    box-shadow: 0 10px 25px -10px rgba(10, 37, 64, 0.06);
    padding: 1.5rem;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--accent);
    transform: translateX(5px);
    box-shadow: 0 10px 30px -10px rgba(0, 180, 216, 0.2);
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================
   SECTION HEADERS
   ========================================== */
.section-header {
    margin-bottom: 4rem;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-top: 0.5rem;
}

.section-bar {
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    margin: 1rem auto 0;
    border-radius: 2px;
}

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

/* ==========================================
   ABOUT / MISSION & VISION
   ========================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.about-info {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
}

.info-icon i {
    width: 30px;
    height: 30px;
}

.about-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
}

.about-info p {
    color: var(--text-muted);
}

.grid-two-rows {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mv-card {
    padding: 2.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.mv-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(20, 184, 166, 0.1);
    color: var(--accent);
    flex-shrink: 0;
}

.mv-icon i {
    width: 24px;
    height: 24px;
}

.mv-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.mv-card p {
    color: var(--text-muted);
}

/* ==========================================
   PORTFOLIO (PRODUCTS)
   ========================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px -10px var(--primary-glow);
}

.portfolio-img-container {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

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

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

.portfolio-overlay {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
}

.portfolio-tag {
    background: rgba(10, 37, 64, 0.85);
    border: 1px solid var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.portfolio-info {
    padding: 2.5rem;
}

.portfolio-info h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.portfolio-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.portfolio-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.portfolio-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-main);
}

.portfolio-list i {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

/* ==========================================
   CORE VALUES
   ========================================== */
.values-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.value-card {
    flex: 1 1 220px;
    max-width: 280px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: 0 10px 25px -10px var(--accent-glow);
}

.value-number {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    transition: var(--transition);
}

.value-card:hover .value-number {
    color: rgba(20, 184, 166, 0.08);
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(20, 184, 166, 0.1);
    color: var(--accent);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.value-icon i {
    width: 24px;
    height: 24px;
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-box {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    border-radius: var(--radius);
    overflow: hidden;
}

.contact-info-panel {
    padding: 4rem;
    background: #cceef1;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-panel h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-main);
}

.contact-info-panel p {
    color: var(--text-muted);
}

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

.detail-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--primary);
    color: #ffffff;
    flex-shrink: 0;
}

.detail-icon i {
    width: 22px;
    height: 22px;
}

.detail-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-main);
}

.detail-item p {
    color: var(--text-muted);
}

.contact-link {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--accent);
}

.contact-form-panel {
    padding: 4rem;
}

.contact-form-panel h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: #ffffff;
    border: 1px solid rgba(10, 37, 64, 0.15);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 10px rgba(0, 180, 216, 0.1);
}

.form-group select option {
    background: #0f172a;
    color: #fff;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: #cceef1;
    padding: 5rem 0 2rem;
    border-top: 5px solid var(--accent);
}

.footer .logo-title {
    color: var(--text-main);
}

.footer .logo-subtitle {
    color: var(--accent);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.footer-about {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    align-self: flex-start;
}

.footer-about p {
    color: var(--text-muted);
    max-width: 400px;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition);
}

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

.footer-bottom {
    grid-column: 1 / -1;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================
   EXPERIENCE / GALLERY SECTION
   ========================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 350px;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -10px var(--primary-glow);
    border-color: var(--border-hover);
}

.gallery-img-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

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

.gallery-card:hover .gallery-img {
    transform: scale(1.08);
}

.gallery-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(180deg, rgba(10, 37, 64, 0) 0%, rgba(10, 37, 64, 0.9) 80%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    opacity: 0.9;
    transition: var(--transition);
}

.gallery-card:hover .gallery-content-overlay {
    opacity: 1;
}

.gallery-port-tag {
    align-self: flex-start;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.gallery-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 2rem;
    }
    .hero-title {
        font-size: 3rem;
    }
    .about-grid, .portfolio-grid, .contact-box {
        grid-template-columns: 1fr;
    }
    .contact-info-panel {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 0;
    }
    .hero {
        padding: 8rem 0 4rem;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .stat-card {
        flex: 1 1 200px;
    }
    .mobile-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(240, 248, 250, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        transition: var(--transition);
        z-index: 999;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-link {
        font-size: 1.2rem;
    }
    .about-info, .mv-card, .portfolio-info, .contact-info-panel, .contact-form-panel {
        padding: 2rem;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.4rem;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
    }
}
