/* Global Styles */
:root {
    --primary: #1a4f8c;
    --secondary: #d4af37;
    --light: #f7f4f4;
    --dark: hsla(240, 95%, 8%, 0.914);
    --gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', DM Sans;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #333;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #0d3a6b;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary);
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #c19d1e;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary);
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.963);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 2rem;
    color: var(--primary);
    margin-left: 10px;
}

.logo span {
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--secondary);
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero-slider {
    height: auto; /* Change to auto for flexible height */
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 80px; /* Keep this as is for top spacing */
    padding-bottom: 80px; /* Adjust bottom padding */
}

.welcome-text {
    overflow: hidden;
            border-right: 3px solid var(--secondary);
            white-space: nowrap;
            margin: 0 auto;
            animation: typing 4s steps(40, end), blink-caret .75s step-end infinite;
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
}
.hero-content h2 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--light);
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
}

.hero-buttons {
    animation: fadeIn 1.5s ease;
}

.hero-buttons .btn {
    margin: 0 10px;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgb(1, 10, 48)), url('https://images.unsplash.com/photo-1553413077-190dd305871c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 150px 0 100px;
    margin-top: 80px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Services */
.featured-services {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.service-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--secondary);
}

/* About Preview */
.about-preview {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* About Section */
.about {
    padding: 80px 0;
}

.vision-mission {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.vision, .mission {
    flex: 1;
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.vision h3, .mission h3 {
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.vision h3 i, .mission h3 i {
    margin-right: 10px;
    color: var(--secondary);
}

.values {
    margin-top: 60px;
}

.values h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-item {
    text-align: center;
    padding: 30px 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.value-item h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* Services Section */
.services {
    padding: 80px 0;
}

.service-card ul {
    text-align: left;
    margin-top: 15px;
    padding-left: 20px;
}

.service-card li {
    margin-bottom: 8px;
    color: var(--gray);
}

.service-process {
    margin-top: 80px;
}

.service-process h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.process-step h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* Team Section */
.team {
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-img {
    height: 300px;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .team-img img {
    transform: scale(1.1);
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h3 {
    color: var(--primary);
    margin-bottom: 5px;
}

.team-info .position {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 10px;
}

.team-info .bio {
    color: var(--gray);
    margin-bottom: 15px;
    font-style: italic;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-social a {
    color: var(--primary);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.team-social a:hover {
    color: var(--secondary);
}

.team-values {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.team-values h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 40px;
    font-size: 2.5rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: var(--secondary);
    width: 20px;
}

.contact-form {
    flex: 1;
}

.contact-form h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* FAQ Section */
.faq {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.faq h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
    background-color: white;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    color: var(--primary);
    font-size: 1.2rem;
}

.faq-answer {
    background-color: #f8f9fa;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    max-height: 200px;
}

/* Call to Action */
.cta {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.footer-col p {
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--secondary);
    color: var(--dark);
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Additional styles for logo */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    margin-right: 12px;
}

@media (max-width: 768px) {
    .logo-img {
        height: 70px;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 35px;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
}

/* Dancing Text Animation */
        @keyframes dance {
            0%, 100% { transform: translateY(0) rotate(0); }
            25% { transform: translateY(-5px) rotate(-1deg); }
            50% { transform: translateY(0) rotate(0); }
            75% { transform: translateY(-3px) rotate(1deg); }
        }
        
        .dance-text {
            display: inline-block;
            animation: dance 2s ease-in-out infinite;
        }

        /* Text Animation Styles */
.typing-animation {
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--secondary);
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--secondary); }
}

.rewrite-animation {
    position: relative;
    overflow: hidden;
}

.rewrite-animation::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: white;
    animation: rewrite 6s infinite;
}

@keyframes rewrite {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(100%);
    }
    75% {
        transform: translateX(0);
    }
}

.typewriter {
    overflow: hidden;
    border-right: 3px solid var(--secondary);
    white-space: nowrap;
    margin: 0 auto;
    animation: typing 4s steps(40, end), blink-caret .75s step-end infinite;
}

.fade-rewrite {
    animation: fadeRewrite 6s infinite;
}

@keyframes fadeRewrite {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    20% {
        opacity: 1;
        transform: translateY(0);
    }
    80% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.text-slide {
    animation: textSlide 8s infinite;
}

@keyframes textSlide {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    20% {
        transform: translateY(0);
        opacity: 1;
    }
    80% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-100%);
        opacity: 0;
    }
}

/* For multiple text animations */
.animated-text-container {
    position: relative;
    height: 60px;
    overflow: hidden;
}

.animated-text {
    position: absolute;
    width: 100%;
    opacity: 0;
    animation: textCycle 12s infinite;
}

.animated-text:nth-child(2) {
    animation-delay: 4s;
}

.animated-text:nth-child(3) {
    animation-delay: 8s;
}

@keyframes textCycle {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    10% {
        opacity: 1;
        transform: translateY(0);
    }
    30% {
        opacity: 1;
        transform: translateY(0);
    }
    40% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

