/* ============================================
   COBEX - Modern Premium Blue Theme
   ============================================ */

:root {
    --primary-color: #0052CC;
    --primary-dark: #003D99;
    --primary-light: #E8F0FF;
    --secondary-color: #00A8E8;
    --accent-color: #FF6B6B;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
}

.container {
    max-width: 1460px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 82, 204, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 82, 204, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-dark);
}

.btn-light {
    background-color: white;
    color: var(--primary-color);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 12px 0;
    font-size: 0.9rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.contact-info a {
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.contact-info a:hover {
    opacity: 0.8;
}

.divider {
    opacity: 0.5;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

/* Navigation Header */
.navbar {
    background-color: rgba(255, 255, 255, 0.96);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo img {
    height: 48px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    padding: 6px 0 10px;
    font-size: 0.96rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    border-radius: 999px;
    transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-link:hover {
    color: var(--primary-color);
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-color), #1e6bff);
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(0, 82, 204, 0.25);
    transition: var(--transition);
    white-space: nowrap;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 82, 204, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    display: none;
}

/* Hero Section */
.hero {
    padding: 70px 0 80px;
    background: linear-gradient(135deg, #edf4fb 0%, #f3f8ff 100%);
    min-height: 640px;
    display: flex;
    align-items: center;
}

.hero > .container {
    width: 100%;
    max-width: 1500px;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.3fr);
    gap: 32px;
    align-items: center;
    width: 100%;
    max-width: 1460px;
    margin: 0 auto;
}

.hero-text h1 {
    font-size: clamp(3.2rem, 5.3vw, 7rem);
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: 100%;
}

.hero-img {
    width: min(100%, 860px);
    height: auto;
    max-height: 620px;
    object-fit: contain;
    border-radius: 24px;
    box-shadow: 0 30px 60px -22px rgba(15, 42, 92, 0.38);
    animation: none;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 30px auto 0;
}

/* Solutions Section */
.solutions {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.solution-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light), #E3F2FD);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-color);
}

.solution-card h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.solution-card p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.card-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.card-link:hover {
    gap: 12px;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.feature-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 15px;
}

.feature-item h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.feature-item p {
    color: var(--text-light);
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.banner-content h2 {
    color: white;
    margin-bottom: 15px;
    font-size: 2.5rem;
}

.banner-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* About Story Section */
.about-story {
    padding: 100px 0 40px;
    background: #ffffff;
}

.story-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary-color);
}

.story-copy h2 {
    font-size: clamp(2.2rem, 3.2vw, 3.6rem);
    margin-bottom: 18px;
    color: var(--text-dark);
    line-height: 1.1;
}

.story-copy p {
    margin-bottom: 18px;
    line-height: 1.8;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: grid;
    gap: 14px;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.6;
}

.check-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-color);
}

.story-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 30px;
}

.story-visual {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.82fr;
    gap: 22px;
    min-height: 520px;
}

.visual-card {
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 25px 50px -22px rgba(17, 24, 39, 0.35);
    background: #edf4fb;
}

.visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.visual-card.main {
    height: 100%;
}

.visual-card.small {
    align-self: end;
    height: 72%;
}

.about-metrics {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 30px 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.metric-item {
    padding: 26px 18px;
    text-align: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-item strong {
    display: block;
    color: #fff;
    font-size: clamp(2rem, 2.5vw, 3rem);
    line-height: 1.1;
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
}

.metric-item span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.team-section {
    padding: 100px 0;
    background: #ffffff;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.profile-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 30px -24px rgba(15, 23, 42, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 38px -24px rgba(15, 23, 42, 0.45);
}

.profile-image {
    margin: 0;
    background: #edf4fb;
}

.profile-image img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.profile-content {
    padding: 22px 22px 20px;
}

.profile-content h3 {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 1.4rem;
}

.profile-role {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 0.88rem;
    line-height: 1.6;
}

.profile-content p {
    margin-bottom: 0;
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info-box {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-white);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-item h4 {
    color: var(--text-dark);
    margin-bottom: 5px;
}

.info-item p {
    margin: 0;
}

.info-item a {
    color: var(--text-dark);
    font-weight: 600;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.solution-card,
.feature-item {
    animation: fadeInUp 0.6s ease forwards;
}

.solution-card:nth-child(2) { animation-delay: 0.1s; }
.solution-card:nth-child(3) { animation-delay: 0.2s; }
.solution-card:nth-child(4) { animation-delay: 0.3s; }
.solution-card:nth-child(5) { animation-delay: 0.4s; }
.solution-card:nth-child(6) { animation-delay: 0.5s; }

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
