/* ROOT & VARIABLES */
:root {
    --primary-color: #0A2540; /* Deep Blue / Navy */
    --secondary-color: #1A5498; /* Medium Blue */
    --accent-color: #3880DD; /* Light Vibrant Blue */
    --text-color: #4A5568; /* Dark Grey for text */
    --heading-color: #0A2540; /* Same as primary */
    --bg-color: #F8F9FA; /* Light Grey background */
    --white: #FFFFFF;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(10, 37, 64, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-alt {
    max-width: 900px;
}

/* UTILITIES */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: none !important;
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 20px auto;
}

.divider.text-left {
    margin: 20px 0;
}

/* TOP BAR */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 13px;
    padding: 10px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
    opacity: 0.9;
}

.contact-info i {
    margin-right: 5px;
    color: var(--accent-color);
}

.social-links a {
    color: var(--white);
    margin-left: 15px;
    opacity: 0.8;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
    opacity: 1;
}

/* NAVBAR */
.navbar {
    background-color: var(--white);
    box-shadow: none !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    position: relative;
}

.logo img {
    height: 65px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu > li {
    margin-left: 25px;
    position: relative;
}

.nav-menu > li > a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
    padding: 35px 0;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.nav-menu > li > a i {
    font-size: 10px;
    margin-left: 5px;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--accent-color);
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 260px;
    background-color: var(--white);
    box-shadow: none !important;
    border-top: 3px solid var(--accent-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    z-index: 99;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    border-bottom: 1px solid #f0f0f0;
}

.dropdown li:last-child {
    border-bottom: none;
}

.dropdown li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.dropdown li a:hover {
    background-color: #f8f9fa;
    color: var(--accent-color);
    padding-left: 25px;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

/* SLIDER */
.hero-slider {
    position: relative;
    height: calc(100vh - 130px);
    min-height: 500px;
    overflow: hidden;
    background-color: var(--primary-color);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    transition: transform 6s ease-out;
}

.slide.active .slide-image {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(10,37,64,0.9) 0%, rgba(10,37,64,0.4) 100%);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    color: var(--white);
    width: 100%;
}

.slide-content h1 {
    font-size: 56px;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -1px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.3s;
}

.slide-content h1 span {
    color: var(--accent-color);
}

.slide-content p {
    font-size: 18px;
    max-width: 600px;
    margin-bottom: 35px;
    opacity: 0.9;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.5s;
}

.slider-btns {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.7s;
}

.slider-btns .btn {
    margin-right: 15px;
}

.slide.active .slide-content h1,
.slide.active .slide-content p,
.slide.active .slider-btns {
    transform: translateY(0);
    opacity: 1;
}

.slider-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 20;
    transition: var(--transition);
}

.slider-controls button:hover {
    background: var(--accent-color);
}

.prev-slide { left: 30px; }
.next-slide { right: 30px; }

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--accent-color);
    width: 24px;
    border-radius: 10px;
}

/* FEATURES / QUICK INFO */
.features {
    margin-top: -60px;
    position: relative;
    z-index: 30;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: none !important;
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--accent-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(56, 128, 221, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--accent-color);
    color: var(--white);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-color);
}

/* SECTORS */
.sectors {
    background-color: var(--bg-color);
}

.sectors .section-header p {
    max-width: 600px;
    margin: 0 auto;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.sector-item {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: none !important;
    transition: var(--transition);
    border: 1px solid #eee;
}

.sector-item:hover {
    transform: translateY(-5px);
    box-shadow: none !important;
}

.sector-image-wrap {
    height: 120px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.sector-icon {
    font-size: 40px;
}

.sector-item:nth-child(even) .sector-image-wrap {
    background-color: var(--secondary-color);
}

.sector-content {
    padding: 25px 20px;
    text-align: center;
}

.sector-content h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.sector-content p {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
    min-height: 60px;
}

.btn-link {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

.btn-link i {
    margin-left: 8px;
    font-size: 12px;
    transition: transform 0.3s;
}

.btn-link:hover i {
    transform: translateX(5px);
}

/* WHY US SECTION */
.why-us {
    background-color: var(--white);
    position: relative;
    background-image: radial-gradient(circle at top right, rgba(56, 128, 221, 0.05) 0%, transparent 40%);
}

.why-us .highlight {
    color: var(--accent-color);
}

.why-us p {
    font-size: 16px;
    margin-bottom: 30px;
}

.check-list li {
    margin-bottom: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    color: var(--heading-color);
}

.check-list li i {
    color: var(--accent-color);
    margin-right: 12px;
    font-size: 18px;
}

/* FOOTER */
.footer {
    background-color: var(--primary-color);
    color: rgba(255,255,255,0.7);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-desc {
    margin-bottom: 25px;
    font-size: 14px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    margin-right: 10px;
}

.footer-socials a:hover {
    background: var(--accent-color);
}

.footer-col h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-contact li i {
    color: var(--accent-color);
    margin-right: 15px;
    margin-top: 4px;
}

.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .slide-content h1 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .menu-toggle { display: block; }
    
    .nav-menu {
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: none !important;
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu > li {
        width: 100%;
        margin-left: 0;
    }
    
    .nav-menu > li > a {
        padding: 15px 0;
        border-bottom: 1px solid #f0f0f0;
        justify-content: space-between;
    }
    
    .dropdown {
        position: static;
        width: 100%;
        box-shadow: none !important;
        border-top: none;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: #f9f9f9;
        padding-left: 15px;
    }
    
    .has-dropdown.active .dropdown {
        display: block;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .sectors-grid {
        grid-template-columns: 1fr;
    }
}

/* TOAST NOTIFICATIONS */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    display: flex;
    align-items: center;
    min-width: 300px;
    max-width: 450px;
    background-color: var(--white, #fff);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
    border-radius: 8px;
    border-left: 5px solid #ccc;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color, #333);
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s;
    opacity: 0;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.success {
    border-left-color: #2ecc71;
}

.toast.success i {
    color: #2ecc71;
}

.toast.error {
    border-left-color: #e74c3c;
}

.toast.error i {
    color: #e74c3c;
}

.toast.info {
    border-left-color: #3498db;
}

.toast.info i {
    color: #3498db;
}

.toast.warning {
    border-left-color: #f1c40f;
}

.toast.warning i {
    color: #f1c40f;
}

.toast i {
    margin-right: 15px;
    font-size: 18px;
}

.toast-close {
    margin-left: auto;
    cursor: pointer;
    color: #999;
    font-size: 14px;
    transition: color 0.2s;
}

.toast-close:hover {
    color: #333;
}
