/* Base Styles & Variables */
:root {
    /* Color Palette */
    --primary: #0F172A;    /* Deep Navy */
    --primary-light: #1E293B;
    --secondary: #0284C7;  /* Teal Blue */
    --accent: #E2E8F0;     /* Light Gray */
    --white: #FFFFFF;
    --text: #1E293B;
    --text-light: #64748B;
    --success: #10B981;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 5rem 0;
    
    /* Border Radius */
    --border-radius: 8px;
    --border-radius-lg: 16px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 1rem = 10px */
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

h1 { font-size: 4.8rem; }
h2 { font-size: 3.6rem; }
h3 { font-size: 2.4rem; }
h4 { font-size: 2rem; }
p { margin-bottom: 1.5rem; }

a {
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary);
}

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

ul {
    list-style: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font-primary);
    font-size: 1.6rem;
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 1.5rem 0;
}

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

.logo {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    font-family: var(--font-heading);
}

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

.nav-menu li a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--secondary);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 2.5rem;
    height: 2rem;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 15rem 0 8rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgcGF0dGVyblRyYW5zZm9ybT0icm90YXRlKDQ1KSI+PHJlY3Qgd2lkdGg9IjQwIiBoZWlnaHQ9IjQwIiBmaWxsPSJ0cmFuc3BhcmVudCIvPjxwYXRoIGQ9Ik0tMSwxIGMwLTMgMS01IDQtNWg0MGMzLDAgNCwyIDQsNSIgc3Ryb2tlPSIjMDI4NEM3IiBzdHJva2Utb3BhY2l0eT0iMC4xIiBzdHJva2Utd2lkdGg9MSIvPjxwYXRoIGQ9Ik0tMSw1MSBjMC0zIDEtNSA0LTVoNDBjMywwIDQsMiA0LDUiIHN0cm9rZT0iIzAyODRDNyIgc3Ryb2tlLW9wYWNpdHk9IjAuMSIgc3Ryb2tlLXdpZHRoPSIxIi8+PHBhdGggZD0iTTQ5LDEgYzAsMyAxLDUgNCw1aDQwYzMsMCA0LC0yIDQsLTUiIHN0cm9rZT0iIzAyODRDNyIgc3Ryb2tlLW9wYWNpdHk9IjAuMSIgc3Ryb2tlLXdpZHRoPSIxIi8+PHBhdGggZD0iTTQ5LDUxIGMwLTMgMS01IDQtNWg0MGMzLDAgNCwyIDQsNSIgc3Ryb2tlPSIjMDI4NEM3IiBzdHJva2Utb3BhY2l0eT0iMC4xIiBzdHJva2Utd2lkdGg9IjEiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjcGF0dGVybikiLz48L3N2Zz4=');
    opacity: 0.2;
    z-index: 0;
}

.hero-content {
    max-width: 60rem;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 5.6rem;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.hero p {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 50rem;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

/* Section Styling */
section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 6rem;
    position: relative;
    font-size: 3.6rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 8rem;
    height: 0.4rem;
    background-color: var(--secondary);
    margin: 1.5rem auto 0;
}

/* Services Section */
.services {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-1rem);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 8rem;
    height: 8rem;
    margin: 0 auto 2rem;
    background: rgba(2, 132, 199, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--secondary);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--secondary);
    color: var(--white);
    transform: rotateY(180deg);
}

.service-card h3 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 1.5rem;
    line-height: 1.7;
}

/* Industries Section */
.industries {
    background-color: #f8fafc;
    position: relative;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

.industry-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.industry-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-md);
}

.industry-card i {
    font-size: 4rem;
    color: var(--secondary);
    margin-bottom: 2rem;
    display: block;
}

.industry-card h3 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.industry-card p {
    color: var(--text-light);
    font-size: 1.5rem;
}

/* Approach Section */
.approach {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 0.6rem;
    background-color: var(--accent);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -0.3rem;
    border-radius: 1rem;
}

.timeline-item {
    padding: 1rem 5rem;
    position: relative;
    width: 50%;
    margin-bottom: 4rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-content {
    padding: 2rem 3rem;
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-lg);
}

.timeline-item:nth-child(odd) .timeline-content::after {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 1rem 0 1rem 1rem;
    border-color: transparent transparent transparent var(--white);
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-content::after {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 1rem 1rem 1rem 0;
    border-color: transparent var(--white) transparent transparent;
    left: -1rem;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-item h3 {
    color: var(--secondary);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.timeline-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* About Section */
.about {
    background-color: #f8fafc;
    position: relative;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-top: 5rem;
}

.about-text {
    flex: 1;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.6rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-md);
}

.stat-number {
    display: block;
    font-size: 3.6rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 1.4rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

/* Contact Section */
.contact {
    background-color: var(--white);
    position: relative;
}

.contact-container {
    display: flex;
    gap: 5rem;
    margin-top: 5rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.contact-info {
    flex: 1;
    padding: 5rem;
    background: var(--primary);
    color: var(--white);
}

.contact-info h3 {
    color: var(--white);
    font-size: 2.4rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 5rem;
    height: 0.3rem;
    background-color: var(--secondary);
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-info i {
    margin-right: 1.5rem;
    color: var(--secondary);
    font-size: 1.8rem;
    width: 2.5rem;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 4rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary);
    transform: translateY(-0.3rem);
}

.contact-form {
    flex: 1;
    padding: 5rem;
}

.contact-form .form-group {
    margin-bottom: 2.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--text);
    transition: all 0.3s ease;
    background-color: #f8fafc;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
}

.contact-form textarea {
    resize: vertical;
    min-height: 15rem;
}

.contact-form button[type="submit"] {
    width: 100%;
    padding: 1.4rem;
    font-size: 1.6rem;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius);
    background-color: var(--secondary);
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button[type="submit"]:hover:not(:disabled) {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-form button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Form Messages */
.form-message {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    font-size: 1.4rem;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #34d399;
}

.form-message.error {
    display: block;
    background-color: #fee2e2;
    color: #b91c1c;
    border: 1px solid #f87171;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 5rem;
    margin-bottom: 5rem;
}

.footer-logo h3 {
    font-size: 2.4rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    line-height: 1.7;
}

.footer-links h4 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 4rem;
    height: 0.2rem;
    background-color: var(--secondary);
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--secondary);
    transform: translateX(0.5rem);
}

.footer-legal {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
}

.footer-legal p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

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

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 96rem;
    }
    
    .hero h1 {
        font-size: 5rem;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 72rem;
    }
    
    .hero h1 {
        font-size: 4.4rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .timeline::after {
        left: 3.1rem;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 7rem;
        padding-right: 2.5rem;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::after,
    .timeline-item:nth-child(even) .timeline-content::after {
        left: 1.5rem;
        border-width: 0 1rem 1rem 0;
        border-color: transparent var(--white) transparent transparent;
        top: -1rem;
        transform: rotate(135deg);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 56.25%; /* 9px */
    }
    
    .container {
        max-width: 100%;
        padding: 0 3rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 8rem;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 3rem 0;
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: transform 0.5s ease-in-out;
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .hamburger {
        display: flex;
    }
    
    .menu-toggle:checked ~ .nav-menu {
        transform: translateY(0);
    }
    
    .hamburger span {
        transition: all 0.3s ease;
    }
    
    .menu-toggle:checked + .hamburger span:nth-child(1) {
        transform: translateY(0.8rem) rotate(45deg);
    }
    
    .menu-toggle:checked + .hamburger span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked + .hamburger span:nth-child(3) {
        transform: translateY(-0.8rem) rotate(-45deg);
    }
    
    .hero {
        padding: 12rem 0 6rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero p {
        margin: 0 auto 3rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 3.2rem;
    }
    
    .services-grid,
    .industries-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 50%; /* 8px */
    }
    
    .container {
        padding: 0 2rem;
    }
    
    .hero h1 {
        font-size: 3.6rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 3rem 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(2rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }
.mb-5 { margin-bottom: 5rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }
.mt-5 { margin-top: 5rem; }
