:root {
    --primary-color: #1a237e; /* Deep navy blue */
    --accent-color: #ffd700; /* Gold */
    --text-color: #ffffff;
    --text-secondary: #e0e0e0;
    --spacing-unit: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d1642 100%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    overflow-x: hidden;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: calc(var(--spacing-unit) * 4) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d1642 100%);
}

.logo {
    max-width: 200px;
    display: block;
    margin: 0 auto 2rem auto;
}

.hero h1 {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    
}

.subheading {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto calc(var(--spacing-unit) * 2);
}

/* Buttons */
.cta-button, .submit-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover, .submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    color: var(--primary-color) !important;
}

/* Services Section */
.services {
    padding: calc(var(--spacing-unit) * 6) 0;
    /* background-color: #0d1642; */
    background: none;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 2);
    margin-top: calc(var(--spacing-unit) * 4);
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: calc(var(--spacing-unit) * 2);
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
    text-decoration: none !important;
    color: #fff !important;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: var(--spacing-unit);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-unit);
}

.service-card * {
    text-decoration: none !important;
    color: #fff !important;
}

/* Contact Section */
.contact {
    padding: calc(var(--spacing-unit) * 6) 0;
    background-color: var(--primary-color);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-unit);
}

.contact-form {
    max-width: 600px;
    margin: calc(var(--spacing-unit) * 4) auto 0;
}

.form-group {
    margin-bottom: var(--spacing-unit);
}

input, textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--text-color);
    font-family: inherit;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        max-width: 100vw;
        padding: 0 calc(var(--spacing-unit) * 1.5);
    }
    .header-logo {
        display: none !important;
    }
    .header-buttons > a:not(.hamburger-menu) {
        display: none !important;
    }
    .hamburger-menu {
        display: flex !important;
    }
    .dropdown-menu {
        position: fixed;
        top: 64px;
        right: 16px;
        left: auto;
        width: 80vw;
        min-width: unset;
        z-index: 9999;
        display: none;
    }
    .dropdown-menu.open {
        display: flex !important;
        flex-direction: column;
    }
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: block !important;
    }
}
@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
    .desktop-only {
        display: inline-block !important;
    }
}

.center {
    text-align: center;
}

.footer {
    background: rgba(0, 3, 28, 0.95) !important;
    color: #b0b6c3;
    padding: 3rem 0 1.5rem;
    text-align: left;
    font-size: 1rem;
    margin-top: auto;
    letter-spacing: 0.02em;
}

.footer-menu {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-column {
    text-align: center;
}

.footer-column h3 {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: #b0b6c3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--accent-color);
}

.social-links li a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.social-links li a i {
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .footer-menu {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .footer-column {
        text-align: center;
    }
    .social-links li a {
        justify-content: center;
    }
}

.full-width {
    width: 100%;
    display: block;
}

/* Ensure about-container is always below the fixed header */
.about-container {
    margin-top: 20px !important;
}

/* About Us Page Styles */
.about-container {
    max-width: 800px;
    margin: 120px auto 40px auto;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 2.5rem 2rem;
}
.about-container h1 {
    color: var(--accent-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}
.about-container h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}
.about-container p, .about-container ul, .about-container li {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
}
.about-container ul {
    margin-bottom: 1.2rem;
}
.about-container a {
    color: var(--accent-color);
    text-decoration: underline;
    transition: color 0.2s;
}
.about-container a:hover, .about-container a:focus {
    color: #fff;
}
.about-container a:visited {
    color: var(--accent-color);
}

/* Login Page Styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d1642 100%);
}
.login-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    margin: 2rem;
}
.login-logo {
    max-width: 150px;
    margin: 0 auto 2rem;
    display: block;
}
.error-message {
    color: #ff6b6b;
    text-align: center;
    margin-bottom: 1rem;
    display: none;
}
.error-message.show {
    display: block;
}

/* Contact Success Message Styles */
.success-message {
    text-align: center;
    padding: 50px 20px;
    max-width: 600px;
    margin: 100px auto;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.success-message .logo {
    max-width: 120px;
    margin-bottom: 32px;
}
.success-message h1 {
    color: var(--accent-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.success-message p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.15rem;
}
.back-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}
.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* High-visibility header styles for debugging */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    background: #000 !important;
    z-index: 1000;
    padding: 1rem 0;
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-logo {
    height: 75px !important;
    width: auto !important;
}
.header-buttons {
    display: flex !important;
    gap: 1rem !important;
}
.header-buttons a {
    color: #fff !important;
    background: #222 !important;
    border: 1px solid #ffd700 !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: background 0.2s, color 0.2s !important;
}
.header-buttons a:hover {
    background: #ffd700 !important;
    color: #000 !important;
}
.header-buttons .contact-button {
    background: #ffd700 !important;
    color: #000 !important;
    border: none !important;
}

.contact-page-container {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d1642 100%);
    padding-top: 4rem;
    padding-bottom: 4rem;
    min-height: 0;
}

/* Hamburger menu styles */
.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    
    cursor: pointer;
    position: relative;
    z-index: 1100;
}
.hamburger-bar {
    width: 28px;
    height: 3px;
    background: #ffd700;
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s;
}
.dropdown-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 48px;
    right: 0;
    background: #181c3a;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    min-width: 180px;
    padding: 0.5rem 0;
    z-index: 1200;
    border: none;
}
.dropdown-menu a {
    color: #ffd700;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    border-radius: 0;
    display: block;
    border: none;
}
.dropdown-menu a:hover, .dropdown-menu a:focus {
    background: rgba(255, 215, 0, 0.12);
    color: #ffd700;
}
.hamburger-menu.open .dropdown-menu {
    display: flex;
}

/* Case Studies Section (override for .services on case-studies.php) */
.case-studies-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d1642 100%);
    padding: calc(var(--spacing-unit) * 6) 0;
}
.case-studies-section h2 {
    color: var(--accent-color);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: calc(var(--spacing-unit) * 4);
}
.case-studies-section .service-card h3 {
    color: var(--accent-color);
}
.case-studies-section .service-card p {
    color: #fff;
}

/* Unified content container for all main pages */
.content-card, .about-container, .contact-form, .success-message, .login-form {
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08) !important;
    padding: 2.5rem 2rem !important;
    max-width: 800px;
    margin: 20px auto 40px auto;
}

.about-container h1, .content-card h1, .about-container h2, .content-card h2 {
    color: var(--accent-color) !important;
    text-align: center;
}

.about-container p, .about-container ul, .about-container li, .content-card p, .content-card ul, .content-card li {
    color: #fff !important;
}

/* Global link color and decoration */
a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover, a:focus {
    color: var(--accent-color);
    text-decoration: underline;
}

.content-card-wrapper {
    max-width: 800px;
    margin: 20px auto 40px auto;
}

@media (max-width: 768px) {
    .header-logo {
        display: none !important;
    }
}

/* reCAPTCHA loading state */
.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
} 