
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0b2a4a; /* dark blue */
    --secondary-color: #ffb703; /* reddish yellow */
    --accent-color: #d7263d; /* accent red */
    --dark-color: #0a1c2b;
    --light-color: #ecf0f1;
    --text-color: #0b2a4a;
    --text-light: #7f8c8d;
    --white: #ffffff;
    --shadow-light: 0 5px 15px rgba(0,0,0,0.08);
    --shadow-medium: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-heavy: 0 20px 60px rgba(0,0,0,0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--dark-color);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
}

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

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--secondary-color);
}

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

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: var(--dark-color); /* Clean, solid base */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Subtle dot grid + soft top sheen */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(255,255,255,0.06)'/%3E%3C/svg%3E");
    background-size: 22px 22px;
    background-repeat: repeat;
    background-position: 0 0;
    pointer-events: none;
    z-index: 0;
}

/* Soft radial highlight behind the content */
.hero::after {
    content: '';
    position: absolute;
    inset: -20% -20% 0 -20%;
    background: transparent;
    filter: none;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    position: relative;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.3s;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero-tagline {
    font-size: 2.2rem;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.7s;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.9s;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.1s;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Styles */
section {
    padding: 100px 0;
    scroll-margin-top: 90px; /* consistent with navbar height */
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* Section line accent */
.section-line {
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--light-color);
    scroll-margin-top: 90px;
    position: relative;
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text-color);
    line-height: 1.8;
}

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

.stat {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 183, 3, 0.08); /* subtle yellow sheen */
    transition: var(--transition);
    z-index: 1;
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-heavy);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--dark-color);
    position: relative;
    z-index: 2;
}

.service-card h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* Contact Section */
.contact {
    background: var(--light-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
}

/* Contact icon sizing and behavior */
.contact-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    flex: 0 0 56px; /* prevent flex shrink */
    background: var(--secondary-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    color: var(--dark-color);
}

.contact-icon i {
    font-size: 22px;
    line-height: 1;
}

.contact-details h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-details p {
    color: var(--text-light);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 16px;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Social Media Section */
.social-media {
    background: url('assets/socialmedia_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.social-media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6); /* black tint overlay */
    backdrop-filter: blur(6px);
    z-index: 0; /* above background image, below content */
}

.social-media .section-header h2,
.social-media .section-header p {
    color: var(--white);
    position: relative;
    z-index: 2;
}

.social-content {
    display: grid;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.social-description h3 {
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.social-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-color);
    position: relative;
    z-index: 2;
}

.social-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.channel-group h4 {
    margin-bottom: 20px;
    color: var(--white);
    font-size: 1.3rem;
}

.channel-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(15px);
    border: 2px solid transparent;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
    backdrop-filter: blur(20px);
}

.social-link i {
    font-size: 1.5rem;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

.social-link span {
    font-weight: 500;
    font-size: 1.1rem;
}

/* YouTube specific styling */
.social-link.youtube {
    border-color: rgba(255, 0, 0, 0.3);
}

/* Remove gradient-based hovers */
.social-link.youtube:hover {
    background: rgba(255, 0, 0, 0.15);
}

.social-link.youtube i {
    color: #ff0000;
}

/* Facebook specific styling */
.social-link.facebook {
    border-color: rgba(24, 119, 242, 0.3);
}

/* Remove gradient-based hovers */
.social-link.facebook:hover {
    background: rgba(24, 119, 242, 0.15);
}

.social-link.facebook i {
    color: #1877f2;
}

.social-contact {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.social-contact h4 {
    margin-bottom: 20px;
    color: var(--white);
    font-size: 1.3rem;
}

.social-contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-contact-info span {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: var(--light-color);
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.social-contact-info span:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    backdrop-filter: blur(15px);
}

.social-contact-info i {
    margin-right: 10px;
    color: var(--secondary-color);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section p {
    line-height: 1.7;
    color: var(--light-color);
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: var(--light-color);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-section ul li i {
    margin-right: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: var(--light-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-medium);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        padding: 15px;
        display: block;
        color: var(--text-color);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .social-contact-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .social-channels {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .social-link {
        padding: 20px;
        font-size: 1.1rem;
    }
    
    .social-contact {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1.4rem;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .social-channels {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .social-link {
        padding: 15px;
        font-size: 1rem;
    }
    
    .social-link i {
        font-size: 1.3rem;
        margin-right: 12px;
    }
    
    .social-contact {
        padding: 25px 15px;
    }
    
    .social-contact-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .social-contact-info span {
        padding: 8px 15px;
        font-size: 1rem;
    }
    .contact-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
        flex-basis: 48px;
        margin-right: 14px;
    }
    .contact-icon i { font-size: 20px; }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* account for fixed navbar height */
}

/* Loading Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

/* Scrollbar */
::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Active Navigation Link */
.nav-link.active {
    color: var(--secondary-color) !important;
}

.nav-link.active::after {
    width: 100% !important;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--dark-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 1000;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    align-items: center;
    justify-content: center;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}
  
/* Image-based social icon for Facebook */
.social-icon-img {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    display: inline-block;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

/* Optional: tint if needed on hover background */
.social-link.facebook:hover .social-icon-img {
    transform: translateX(2px);
    transition: var(--transition);
}

/* Contact links */
.contact-link {
    color: inherit;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: none;
}

.social-contact-info a {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: var(--light-color);
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.social-contact-info a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    backdrop-filter: blur(15px);
    text-decoration: none;
}

.social-contact-info a i {
    margin-right: 10px;
    color: var(--secondary-color);
}
  