/* =========================
   GLOBAL STYLES (ALL PAGES)
========================= */

:root {
    --primary-color: #0d2c54;
    --secondary-color: #d4af37;
    --light-bg: #f8f9fa;
    --dark-bg: #091d36;
    --text-dark: #333;
}

body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.7;
    color: var(--text-dark);
}

/* Section Spacing */
section {
    padding: 70px 0;
}

/* Headings */
h1, h2, h3, h4 {
    font-weight: 700;
}

/* Buttons */
.btn-warning {
    background-color: var(--secondary-color);
    border: none;
    color: white;
    transition: 0.3s ease;
}

.btn-warning:hover {
    background-color: #b8962e;
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Utility */
.text-warning {
    color: var(--secondary-color) !important;
}

/* ======================
   NAVBAR DESIGN
====================== */

.navbar{
    background:linear-gradient(135deg,#0d6efd,#084298);
    padding:12px 0;
    }
    
    /* Brand logo spacing */
    
    .navbar-brand img{
    transition:0.3s;
    }
    
    .navbar-brand img:hover{
    transform:scale(1.05);
    }

    /* NAV LINKS */

.navbar-nav .nav-link{
    color:white !important;
    font-weight:500;
    margin-left:10px;
    position:relative;
    transition:0.3s;
    }
    
    /* Hover underline animation */
    
    .navbar-nav .nav-link::after{
    content:"";
    position:absolute;
    width:0%;
    height:2px;
    background:#ffc107;
    left:0;
    bottom:-4px;
    transition:0.3s;
    }
    
    .navbar-nav .nav-link:hover::after{
    width:100%;
    }
    
    .navbar-nav .dropdown-toggle::after{
        border: none;
        }
    .navbar-nav .nav-link:hover{
    color:#ffc107 !important;
    }
    /* Hover dropdown */

/* ======================
   DROPDOWN HOVER EFFECT
====================== */

.dropdown-item{
    padding:10px 18px;
    transition:all 0.3s ease;
    }
    
    /* Hover effect */
    
    .dropdown-item:hover{
        background:#ffc107;
        color:#000;
        padding-left:24px;
        }

@media (min-width:992px){

    .nav-item.dropdown:hover .dropdown-menu{
    display:block;
    margin-top:0;
    }
    
    }
    /* ======================
   FOOTER
====================== */

.footer{
    background:linear-gradient(135deg,#111,#222);
    color:white;
    padding:35px 0;
    }
    
    .footer p{
    margin-bottom:8px;
    font-size:15px;
    }
    
    /* Footer icons */
    
    .footer-icons a{
    font-size:18px;
    margin:0 10px;
    transition:0.3s;
    text-decoration: none !important;
    }
    }
    /* Hover dropdown */

@media (min-width:992px){

    .nav-item.dropdown:hover .dropdown-menu{
    display:block;
    margin-top:0;
    }
    
    }
    
    /* Icon hover */
    
    .footer-icons a:hover{
    color:#ffc107 !important;
    transform:translateY(-3px);
    }
    .navbar-nav .nav-link.active{
        color:#ffc107 !important;
        font-weight:600;
        }

/* Responsive Improvements */
@media (max-width: 992px) {
    section {
        padding: 50px 0;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
    }

    p {
        font-size: 15px;
    }
}