/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1e40af;
    --secondary-blue: #3b82f6;
    --light-blue: #dbeafe;
    --dark-blue: #1e3a8a;
    --gold: #f59e0b;
    --light-gold: #fef3c7;
    --soft-grey: #f8fafc;
    --medium-grey: #64748b;
    --dark-grey: #1e293b;
    --white: #ffffff;
    --accent-green: #10b981;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    --gradient-gold: linear-gradient(135deg, var(--gold), #f97316);
}

body {
    font-family: 'Segoe UI', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--dark-grey);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loading Animation */
#loadingScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: var(--white);
    font-size: 18px;
    margin-left: 20px;
    font-weight: 600;
}

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    color: var(--gold);
    font-size: 1.8rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-grey);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-grey);
    margin: 3px 0;
    transition: 0.3s;
}

/* Mobile menu */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 1rem;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
}

.hero-content {
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button {
    background: var(--gradient-gold);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
}

/* Heritage Section */
.heritage {
    padding: 4rem 0;
    background: var(--soft-grey);
}

.heritage-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.heritage-text {
    flex: 1;
}

.heritage-visual {
    flex: 1;
}

.heritage-visual img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* About Section */
.about {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.about-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.about-card i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* Clients Section */
.clients {
    padding: 4rem 0;
    background: var(--light-blue);
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.client-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.client-card i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.client-card h3 {
    margin-bottom: 0.5rem;
}

/* Services Section */
.services {
    padding: 4rem 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.service-pillar {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: relative;
}

.pillar-number {
    position: absolute;
    top: -1rem;
    left: 1rem;
    background: var(--gold);
    color: var(--white);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.service-pillar i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.service-pillar ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.category-card {
    background: var(--light-blue);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.category-card i {
    font-size: 1.5rem;
    color: var(--secondary-blue);
    margin-bottom: 0.5rem;
}

/* Engagement Section */
.engagement {
    padding: 4rem 0;
    background: var(--soft-grey);
}

.engagement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.engagement-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: relative;
}

.engagement-card i {
    font-size: 2rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

/* Why Us Section */
.why-us {
    padding: 4rem 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.why-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.why-card i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.why-card h3 {
    margin-bottom: 0.5rem;
}

/* Values Section */
.values {
    padding: 4rem 0;
    background: var(--light-blue);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.value-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.value-card i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.value-card h3 {
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
}

.contact .container {
    display: flex;
    gap: 4rem;
}

.contact-info {
    flex: 1;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--gold);
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.form-group textarea {
    height: 150px;
}

.error {
    color: #ef4444;
    font-size: 0.875rem;
    display: none;
    margin-top: 0.25rem;
}

.submit-btn {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: var(--gradient-gold);
}

/* Footer */
.footer {
    background: var(--dark-grey);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-brand p {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--gold);
}

.footer-services ul,
.footer-company ul {
    list-style: none;
}

.footer-services li,
.footer-company li {
    margin-bottom: 0.5rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-features {
        flex-direction: column;
    }

    .heritage-content {
        flex-direction: column;
    }

    .contact .container {
        flex-direction: column;
    }
}




#loadingScreen {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: #111;
}

.loading-logo {
  width: 150px;
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 5px #ffcc00);
  }
  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px #ffcc00);
  }
}