@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700&display=swap');

:root {
    /* Color Palette - Equifer Brand */
    --primary: #0081a7;
    /* Deep Teal from Logo */
    --primary-dark: #005f73;
    --primary-light: #caf0f8;
    --secondary: #2b2d42;
    /* Slate Gray for text */
    --accent: #f07167;
    /* Coral for CTAs */
    --background: #ffffff;
    --bg-alt: #f8f9fa;
    --text-main: #333333;
    --text-muted: #6c757d;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;

    /* Shadows & Glassmorphism */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-blur: blur(12px);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--secondary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Base Layout Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.section {
    padding: var(--space-xl) 0;
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-heading);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 48px;
    width: auto;
    background: #ffffff;
    /* Intentional badge background */
    padding: 6px 14px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.logo img:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.nav-links {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--secondary);
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: var(--primary-light);
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 1;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: var(--space-sm);
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.hero-btns {
    display: flex;
    gap: var(--space-sm);
}

/* Services Section */
.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-xs);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

/* Service Card Clickable */
.service-card {
    display: block;
    padding: var(--space-md);
    border-radius: 20px;
    text-align: left;
    transition: var(--transition);
    color: inherit;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.service-card h3 {
    margin-bottom: var(--space-xs);
}

.read-more {
    display: inline-block;
    margin-top: var(--space-sm);
    color: var(--primary);
    font-weight: 600;
}

/* About Section */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.about-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.stats {
    display: flex;
    gap: var(--space-md);
    margin: var(--space-md) 0;
}

.stats li {
    text-align: center;
}

.stats strong {
    display: block;
    font-size: 2rem;
    color: var(--primary);
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: white;
    padding-bottom: 2rem;
}

footer h1,
footer h2,
footer h3,
footer h4 {
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-info img {
    filter: brightness(0) invert(1);
    margin-bottom: var(--space-sm);
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #adb5bd;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.contact-card {
    padding: var(--space-md);
    border-radius: 15px;
}

.contact-card h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.contact-form {
    padding: var(--space-md);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.glass-section {
    background: linear-gradient(to bottom, #ffffff, #f1f8fa);
}

/* Header scroll effect */
header.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-md);
}

/* Mobile Toggle Styles */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 3px;
    transition: var(--transition);
}

/* Mobile Toggle Animation */
.mobile-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* Responsive updates */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: 0.5s ease-in-out;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-toggle {
        display: flex;
    }
}