:root {
    --primary-color: #FFD700;
    --primary-hover: #e6c200;
    --dark-bg: #0a0a0a;
    --secondary-bg: #121212;
    --card-bg: #1e1e1e;
    --text-color: #FFFFFF;
    --text-secondary: #b0b0b0;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --glass-bg: rgba(30, 30, 30, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition-fast: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-color);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-dark {
    background-color: var(--dark-bg) !important;
}

.section-padding {
    padding: 100px 0;
}

/* Buttons */
.btn-custom {
    padding: 14px 32px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary-gold {
    background-color: var(--primary-color);
    color: #000;
    border: 2px solid var(--primary-color);
}

.btn-primary-gold:hover {
    background-color: transparent;
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-gold:hover {
    background-color: var(--primary-color);
    color: #000;
}

/* Header */
.header {
    padding: 20px 0;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-spacer {
    padding-top: 120px;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
}

.navbar-brand span {
    color: var(--primary-color);
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
    margin-left: 20px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(18, 18, 18, 0.7) 100%), url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

/* Stats Bar */
.stats-bar {
    background-color: var(--secondary-bg);
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

/* Services - Glassmorphism */
.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: #ccc;
    font-size: 0.9rem;
}

.service-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Portfolio */
.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;

}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.portfolio-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: bottom 0.4s;
}

.portfolio-item:hover .portfolio-overlay {
    bottom: 0;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

/* Team */
.team-card {
    text-align: center;
    background: var(--secondary-bg);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #222;
    transition: 0.3s;
}

.team-card:hover {
    border-color: var(--primary-color);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #333;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--primary-color);
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* Contact */
.contact-section {
    background-color: var(--secondary-bg);
    position: relative;
}

.contact-form-card {
    background: var(--dark-bg);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #333;
}

.form-control {
    background-color: #1e1e1e;
    border: 1px solid #333;
    color: #fff;
    padding: 12px;
}

.form-control:focus {
    background-color: #252525;
    border-color: var(--primary-color);
    box-shadow: none;
    color: #fff;
}

/* Footer */
.footer {
    background-color: #050505;
    padding: 60px 0 30px;
    border-top: 1px solid #222;
}

.footer h5 {
    color: #fff;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .stats-bar {
        text-align: center;
    }

    .stat-item {
        margin-bottom: 30px;
    }
}

/* --- Team Page Styles --- */
.team-card-full {
    background: var(--secondary-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #222;
    transition: 0.3s;
    text-align: center;
    height: 100%;
}

.team-card-full:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.team-img-wrapper {
    position: relative;
    padding: 30px 0;
    background-color: #1a1a1a;
}

.team-avatar-full {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-color: #333;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--primary-color);
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: bold;
    position: relative;
    z-index: 1;
}

/* Social Popover Effect */
.social-popover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 215, 0, 0.9);
    /* Gold overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.team-img-wrapper:hover .social-popover {
    opacity: 1;
}

.social-popover a {
    color: #000;
    font-size: 1.8rem;
    transition: transform 0.2s;
}

.social-popover a:hover {
    transform: scale(1.2);
    color: #fff;
}

.team-info {
    padding: 25px;
}

.team-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.team-info .role {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.team-info .desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* --- Blog Page Styles --- */
.blog-card {
    background: var(--secondary-bg);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #222;
    transition: 0.3s;
    height: 100%;
}

.blog-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.blog-img {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-img .category {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: #000;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
}

.blog-content {
    padding: 25px;
}

.blog-content .date {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-content h3 a {
    color: #fff;
}

.blog-content h3 a:hover {
    color: var(--primary-color);
}

.blog-content p {
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.read-more i {
    margin-left: 5px;
    transition: margin-left 0.3s;
}

.read-more:hover i {
    margin-left: 10px;
}