:root {
    /* Extracted Colors from Logo */
    --primary-blue: #163C5F;
    --primary-green: #26734D;
    --accent-silver: #A0A5AA;
    
    --bg-light: #F5F7FA;
    --bg-white: #FFFFFF;
    --text-dark: #2D3748;
    --text-light: #718096;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-blue { color: var(--primary-blue); }
.text-green { color: var(--primary-green); }
.bg-light { background-color: var(--bg-light); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), #1b5e3c);
    color: white;
    box-shadow: 0 4px 15px rgba(38, 115, 77, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(38, 115, 77, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(22, 60, 95, 0.2);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

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

.logo img {
    height: 200px;
    transition: var(--transition);
}

.navbar.scrolled .logo img {
    height: 120px;
}

.logo span {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-blue);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.navbar.scrolled .nav-links a {
    color: var(--text-dark);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--primary-green);
}

.hamburger {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e4e9f2 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: -30%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(38,115,77,0.08) 0%, rgba(22,60,95,0.03) 70%, transparent 100%);
    border-radius: 50%;
    z-index: 0;
    animation: float 10s infinite ease-in-out alternate;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(30px) scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 45px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Sections */
.section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 800;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.15rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    padding: 50px 30px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.02);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: rgba(38, 115, 77, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: var(--primary-green);
    transition: var(--transition);
}

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

.service-card h3 {
    font-size: 1.6rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    color: var(--text-light);
}

/* About Section */
.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.feature-list {
    list-style: none;
    margin-top: 30px;
}

.feature-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-blue);
    font-weight: 600;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-graphic {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(22,60,95,0.05), rgba(38,115,77,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 150px;
    color: var(--primary-blue);
    box-shadow: inset 0 0 50px rgba(255,255,255,0.5);
    position: relative;
}

.shield-graphic::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed var(--primary-green);
    animation: rotate 20s linear infinite;
    opacity: 0.3;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--primary-blue), #0d243a);
    padding: 100px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PGNpcmNsZSBjeD0iMiIgY3k9IjIiIHI9IjIiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiLz48L3N2Zz4=');
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
}

/* Footer */
.footer {
    background: #081522;
    color: white;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer p {
    color: #8c929a;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icons a {
    color: white;
    background: rgba(255,255,255,0.08);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-icons a:hover {
    background: var(--primary-green);
    transform: translateY(-5px);
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

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

.footer-links a:hover {
    color: var(--primary-green);
    padding-left: 8px;
}

.footer-contact p {
    display: flex;
    align-items: center;
}

.footer-contact p i {
    color: var(--primary-green);
    margin-right: 15px;
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #5c636a;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.animate-up.show {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 3.5rem; }
    .about-container { flex-direction: column; text-align: center; }
    .feature-list li { justify-content: center; }
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .nav-links.active {
        right: 0;
    }

    .hero h1 { font-size: 2.8rem; }
    .hero p { font-size: 1.1rem; }
    .hero-buttons { flex-direction: column; padding: 0 20px; }
    
    .section { padding: 80px 0; }
    .section-header h2 { font-size: 2.2rem; }
}
