:root {
    --primary-blue: #0047AB;
    --secondary-cyan: #00BFFF;
    --deep-blue: #00235C;
    --accent-light: #E6F3FF;
    --text-color: #333333;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.2);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

/* Glassmorphism Navbar */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

nav a:hover {
    color: var(--secondary-cyan);
}

/* Hero Section with Gradient */
.hero {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--primary-blue) 100%);
    color: white;
    padding: 80px 0 60px;
    /* Reduced from 150px 0 100px */
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    /* Adjusted angle slightly */
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    position: relative;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(90deg, var(--secondary-cyan), var(--primary-blue));
    color: var(--white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.4);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 191, 255, 0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* Cards (Glassmorphism) */
.card,
.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 71, 171, 0.15);
}

.service-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--secondary-cyan), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

/* Form Styles */
.form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: #fcfcfc;
}

.form-control:focus {
    border-color: var(--secondary-cyan);
    outline: none;
    background: white;
}

/* Footer */
footer {
    background: var(--deep-blue);
    color: white;
    padding: 60px 0 20px;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    display: inline-block;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        padding: 0 10px;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 15px;
    }

    .hero {
        padding: 60px 0 40px;
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    }

    .container {
        padding: 0 15px;
    }
}

/* Responsive Grid for Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Admin Dashboard Premium Styles */
.stat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.btn {
    transition: all 0.2s;
    border-radius: 8px;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 600;
}

.btn:hover {
    filter: brightness(0.95);
    transform: translateY(-1px);
}

/* 2-Column Grid (Equal) */
.admin-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

/* 2-Column Grid (2fr 1fr) */
.admin-grid-2-1 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

/* 4-Column Grid */
.admin-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .admin-grid-4 {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
}

/* Mobile Adjustments for 2-col */
@media (max-width: 768px) {

    .admin-grid-2,
    .admin-grid-2-1 {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
}

/* Admin Dashboard Responsive Grid */
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .admin-grid {
        grid-template-columns: 1fr !important;
        /* Stack vertically */
        gap: 20px;
    }

    /* Stack Header elements */
    .container>div[style*="justify-content: space-between"] {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 15px;
    }

    .container>div>div[style*="display: flex"] {
        width: 100%;
        justify-content: space-between;
    }

    /* Adjust Stat Card fonts for small screens */
    .stat-card h3 {
        font-size: 1rem !important;
    }

    .stat-card div[style*="font-size: 3rem"] {
        font-size: 2.5rem !important;
    }
}