/* ROOT VARIABLES */
:root {
    --primary-color: #171f4a;
    --secondary-color: #ffaf3a;
    --text-color: #333333;
    --bg-color: #ffffff;
    --bg-light: #f4f5f7;
    --font-main: 'Oswald', 'Roboto Condensed', sans-serif;
    --font-body: 'Inter', 'Helvetica Neue', sans-serif;
    --transition-speed: 0.3s;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    font-weight: 700;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

/* TYPOGRAPHY */
.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
}

/* HEADER */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-speed) ease;
}

.header-top {
    background: var(--primary-color);
    color: #fff;
    padding: 8px 0;
    font-size: 0.9rem;
}

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

.header-top a {
    color: #fff;
    margin-left: 15px;
}

.header-top a:hover {
    color: var(--secondary-color);
}

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

.logo img {
    height: 90px;
    transition: all 0.5s ease-in-out;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 5px;
}

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

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

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--secondary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* HERO SECTION */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 100px; /* Offset for header */
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(23, 31, 74, 0.6); /* Primary color overlay */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero h1 span {
    color: var(--secondary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all var(--transition-speed);
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    margin-left: 15px;
}

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

/* EXPERIENCE SECTION */
.experience {
    padding: 80px 0;
    background-color: #fff;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.exp-card {
    background: var(--bg-light);
    border-left: 5px solid var(--secondary-color);
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.exp-card:hover {
    transform: translateY(-5px);
}

.exp-card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.exp-company {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.exp-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ABOUT SECTION */
.about {
    padding: 80px 0;
    background-color: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text h2 span {
    color: var(--secondary-color);
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.1rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 175, 58, 0.1);
    color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.5rem;
}

.feature-text h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.about-img {
    position: relative;
}

.about-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-img::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 10px solid var(--secondary-color);
    z-index: -1;
    border-radius: 8px;
}

/* SERVICES SECTION */
.services {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    position: relative;
    group: card;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
    text-align: center;
}

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-content p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-link {
    color: var(--secondary-color);
    font-weight: 600;
    font-family: var(--font-main);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-link:hover {
    color: var(--primary-color);
}

/* CTA SECTION */
.cta {
    background-color: var(--primary-color);
    padding: 80px 0;
    text-align: center;
    color: #fff;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/hero_bg.png') center/cover;
    opacity: 0.1;
}

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

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

.cta h2 span {
    color: var(--secondary-color);
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* FOOTER */
.footer {
    background-color: #0d122e; /* Darker than primary */
    color: #fff;
    padding: 60px 0 20px;
}

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

.footer-col h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-logo-img {
    height: 90px;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: slowShine 3s infinite alternate ease-in-out;
}

.footer-col p {
    color: #bbb;
    margin-bottom: 15px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: #bbb;
}

.footer-contact i {
    color: var(--secondary-color);
    margin-top: 5px;
}

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

.footer-links a {
    color: #bbb;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #fff;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}

/* UTILS */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slowShine {
    0% {
        box-shadow: 0 0 5px rgba(255, 175, 58, 0.4);
        transform: translateY(0);
    }
    100% {
        box-shadow: 0 0 25px rgba(255, 175, 58, 0.9);
        transform: translateY(-2px);
    }
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-img {
        margin-top: 30px;
        order: -1;
    }
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: var(--primary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.3s ease;
    }

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

    .nav-links li a {
        color: #fff;
        font-size: 1.5rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-top {
        display: none;
    }
    
    .hero {
        margin-top: 70px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
        display: block;
    }
}

/* Page Header for inner pages */
.page-header {
    height: 300px;
    background: url('../img/hero_bg.png') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 100px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(23, 31, 74, 0.7);
}

.page-header h1 {
    position: relative;
    z-index: 1;
    font-size: 3rem;
    color: var(--secondary-color);
}
