:root {
    /* Primary Colors - Refined for Premium Feel */
    --primary-color: #0d2a1f; 
    --primary-accent: #1e4d3a;
    --primary-gradient: linear-gradient(135deg, #0d2a1f 0%, #1e4d3a 100%);
    
    /* Secondary & Accent */
    --accent-color: #f59e0b; /* Golden Orange for premium touch */
    --accent-hover: #d97706;
    --secondary-color: #64748b;
    
    /* Neutral Colors */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --text-main: #1e293b;
    --text-light: #64748b;
    --text-white: #ffffff;
    
    /* Shadows - More subtle and depthful */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 90px;
    --border-radius: 12px;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Helper Classes */
.container {
    width: 92%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.section-area { padding: 100px 0; }
.bg-light { background-color: var(--bg-light); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 34px;
    border-radius: 50px; /* Pill shape for modern look */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Header & Navigation */
header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.4s ease;
}

header.scrolled {
    height: 70px;
    background-color: rgba(255, 255, 255, 0.95);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo a {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--accent-color);
}

.menu ul {
    display: flex;
    gap: 35px;
}

.menu a {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    padding: 10px 0;
    position: relative;
    letter-spacing: 0.5px;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.menu a:hover,
.menu a.active {
    color: var(--primary-color);
}

.menu a:hover::after,
.menu a.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

/* Mobile Menu Active State */
@media (max-width: 768px) {
    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-white);
        z-index: 1001;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }
    
    .menu.active {
        right: 0;
    }
    
    .menu ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .menu a {
        font-size: 18px;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1002;
    }
}

/* Sections */
.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; /* Compatibility fix */
}

.section-header h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
    font-size: 17px;
}

/* Hero Slider */
.page-slider {
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

.slider-content {
    position: relative;
    z-index: 2;
    padding: 120px 0;
}

.slider-content h1 {
    font-size: 64px;
    color: white;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.1;
    font-weight: 800;
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: #94a3b8;
    padding: 100px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-item h3 {
    color: var(--text-white);
    font-size: 20px;
    margin-bottom: 30px;
    position: relative;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(10px);
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-info i {
    color: var(--accent-color);
    margin-right: 15px;
    margin-top: 5px;
    font-size: 18px;
}

/* Grid System */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Card Styles */
.card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.card-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.card-img::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.4) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.card:hover .card-img::after {
    opacity: 1;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.card:hover .card-img img {
    transform: scale(1.1);
}

.card-body {
    padding: 35px;
}

.card-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-title i {
    color: var(--accent-color);
}

.card-text {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 15px;
}

/* Forms */
.contact-form {
    background: var(--bg-white);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 14px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    background-color: var(--bg-light);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-accent);
    background-color: white;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .slider-content h1 {
        font-size: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Page Indicator for Dots/Micro-animations */
.bg-gradient-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, rgba(13, 42, 31, 0.85) 0%, rgba(30, 77, 58, 0.6) 100%);
    z-index: 1;
}

/* Contact Cards in Contact Page */
.contact-card {
    background: #fff;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
    transition: 0.3s ease;
}

.contact-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.contact-card i {
    font-size: 24px;
    color: var(--accent-color);
    padding: 15px;
    background: var(--bg-light);
    border-radius: 12px;
}

/* References Section */
.references-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.reference-item {
    flex: 0 0 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.6;
}

.reference-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.reference-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .references-grid {
        gap: 20px;
    }
    .reference-item {
        flex: 0 0 calc(50% - 20px);
        height: 80px;
    }
}
