/* Base Styles */
:root {
    /* Triadic Color Scheme */
    --primary-color: #3a7bd5;
    --primary-color-dark: #2a6bc5;
    --secondary-color: #d53a7b;
    --secondary-color-dark: #c02968;
    --tertiary-color: #7bd53a;
    --tertiary-color-dark: #68c029;
    
    --dark-color: #333333;
    --light-color: #ffffff;
    --gray-color: #f5f5f5;
    --gray-dark: #e0e0e0;
    
    --glassmorphism-bg: rgba(255, 255, 255, 0.15);
    --glassmorphism-border: rgba(255, 255, 255, 0.18);
    --glassmorphism-shadow: rgba(0, 0, 0, 0.1);
    
    --transition-slow: 0.5s ease;
    --transition-medium: 0.3s ease;
    --transition-fast: 0.2s ease;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    color: var(--dark-color);
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-color-dark);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-white {
    color: var(--light-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

.bg-secondary {
    background-color: var(--secondary-color);
}

.bg-tertiary {
    background-color: var(--tertiary-color);
}

/* Glassmorphism Card */
.glassmorphism-card {
    background: var(--glassmorphism-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid var(--glassmorphism-border);
    box-shadow: 0 8px 32px 0 var(--glassmorphism-shadow);
    padding: 30px;
    margin-bottom: 30px;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.glassmorphism-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.15);
}

/* Header */
.glassmorphism-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all var(--transition-medium);
    z-index: 1000;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.6rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-color);
    padding: 0.5rem 1rem;
    transition: color var(--transition-fast);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: -76px; /* Adjust based on header height */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.hero-background:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 123, 213, 0.7) 0%, rgba(213, 58, 123, 0.5) 100%);
}

.hero-content {
    padding: 40px;
    max-width: 600px;
    color: var(--light-color);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

/* Button Styles */
.btn {
    border-radius: 30px;
    padding: 10px 25px;
    transition: all var(--transition-medium);
    font-weight: 600;
    text-align: center;
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-color);
}

.btn-primary:hover {
    background-color: var(--primary-color-dark);
    border-color: var(--primary-color-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(58, 123, 213, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--light-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color-dark);
    border-color: var(--secondary-color-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(213, 58, 123, 0.3);
}

.btn-tertiary {
    background-color: var(--tertiary-color);
    border-color: var(--tertiary-color);
    color: var(--light-color);
}

.btn-tertiary:hover {
    background-color: var(--tertiary-color-dark);
    border-color: var(--tertiary-color-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(123, 213, 58, 0.3);
}

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

.btn-outline-primary:hover {
    color: var(--light-color);
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(58, 123, 213, 0.3);
}

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

.btn-outline-secondary:hover {
    color: var(--light-color);
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(213, 58, 123, 0.3);
}

.btn-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Block Sections */
.block-section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--tertiary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--dark-color);
    max-width: 700px;
    margin: 0 auto;
}

/* Services Section */
.services-section .row {
    margin-bottom: -30px;
}

.service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform var(--transition-medium);
}

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

.service-card .card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    margin-bottom: 20px;
}

.service-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .card-image img {
    transform: scale(1.05);
}

.service-card .card-content {
    padding: 0 20px 20px;
    flex-grow: 1;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    color: var(--dark-color);
    margin-bottom: 20px;
}

.read-more {
    font-weight: 600;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    transition: all var(--transition-medium);
}

.read-more:after {
    content: '→';
    margin-left: 5px;
    transition: transform var(--transition-medium);
}

.read-more:hover {
    color: var(--secondary-color-dark);
}

.read-more:hover:after {
    transform: translateX(5px);
}

/* Methodology Section */
.methodology-section {
    background: linear-gradient(135deg, rgba(245, 247, 250, 0.7) 0%, rgba(228, 233, 242, 0.7) 100%);
}

.timeline-container {
    position: relative;
    padding: 30px;
}

.timeline-item {
    padding-left: 30px;
    margin-bottom: 30px;
    position: relative;
}

.timeline-marker {
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--secondary-color);
    z-index: 1;
}

.timeline-marker:before {
    content: '';
    position: absolute;
    top: 15px;
    left: 7px;
    width: 2px;
    height: calc(100% + 15px);
    background: var(--secondary-color);
    z-index: -1;
}

.timeline-item:last-child .timeline-marker:before {
    display: none;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
}

.timeline-content h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Case Studies Section */
.case-studies-section .row {
    margin-bottom: -30px;
}

.case-study-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.case-study-card .card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    margin-bottom: 20px;
}

.case-study-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.case-study-card:hover .card-image img {
    transform: scale(1.05);
}

.case-study-card .card-content {
    padding: 0 20px 20px;
    flex-grow: 1;
}

.case-study-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Clientele Section */
.clientele-section {
    background: linear-gradient(135deg, rgba(245, 247, 250, 0.7) 0%, rgba(228, 233, 242, 0.7) 100%);
}

.testimonials-accordion .accordion-item {
    border: none;
    margin-bottom: 10px;
    background: transparent;
}

.testimonials-accordion .accordion-button {
    background: rgba(255, 255, 255, 0.1);
    color: var(--dark-color);
    border-radius: 10px;
    box-shadow: none;
    padding: 15px 20px;
}

.testimonials-accordion .accordion-button:not(.collapsed) {
    background: rgba(58, 123, 213, 0.1);
    color: var(--primary-color);
}

.testimonials-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.testimonials-accordion .accordion-body {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 0 10px 10px;
    padding: 20px;
}

/* Contact Section */
.contact-info ul {
    list-style-type: none;
    padding: 0;
    margin-bottom: 30px;
}

.contact-info ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info ul li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.map-container {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--dark-color);
}

.contact-form .form-control,
.contact-form .form-select {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 12px 15px;
    color: var(--dark-color);
    transition: all var(--transition-medium);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    box-shadow: 0 0 0 3px rgba(58, 123, 213, 0.25);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.3);
}

.contact-form textarea.form-control {
    min-height: 150px;
}

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

.footer-section h4 {
    color: var(--light-color);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.footer-links {
    list-style-type: none;
    padding: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--tertiary-color);
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-right: 15px;
    transition: color var(--transition-fast);
    display: inline-block;
}

.social-links a:hover {
    color: var(--tertiary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 20px;
}

.legal-links {
    margin-top: 10px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin: 0 10px;
    transition: color var(--transition-fast);
}

.legal-links a:hover {
    color: var(--tertiary-color);
}

/* Page Banner */
.page-banner {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    margin-top: -76px; /* Adjust based on header height */
}

.banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.banner-background:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 123, 213, 0.7) 0%, rgba(213, 58, 123, 0.5) 100%);
}

.banner-content {
    color: var(--light-color);
    padding: 40px;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    margin-top: 76px; /* Adjust based on header height */
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.banner-content p {
    font-size: 1.2rem;
}

/* Team Section */
.team-section .row {
    margin-bottom: -30px;
}

.team-card {
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-card .card-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
}

.team-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.team-card .position {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-card .card-content {
    padding: 0 15px;
}

/* Facilities/Gallery Section */
.facilities-gallery {
    margin-bottom: -20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: var(--light-color);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

.gallery-caption h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* Resources Section */
.resources-section .row {
    margin-bottom: -30px;
}

.resource-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.resource-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.resource-list {
    list-style-type: none;
    padding: 0;
    text-align: left;
}

.resource-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.resource-list li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--tertiary-color);
}

.resource-list a {
    color: var(--dark-color);
    transition: color var(--transition-fast);
}

.resource-list a:hover {
    color: var(--primary-color);
}

/* Location Cards */
.locations-section .row {
    margin-bottom: -30px;
}

.location-card {
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.location-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* FAQ Accordion */
.faq-accordion .accordion-item {
    border: none;
    margin-bottom: 15px;
    background: transparent;
}

.faq-accordion .accordion-button {
    background: rgba(255, 255, 255, 0.1);
    color: var(--dark-color);
    border-radius: 10px;
    box-shadow: none;
    padding: 20px;
    font-weight: 600;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(58, 123, 213, 0.1);
    color: var(--primary-color);
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.faq-accordion .accordion-body {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 0 10px 10px;
    padding: 20px;
}

/* Privacy & Terms Pages */
.privacy-section, .terms-section {
    padding-top: 100px;
}

.privacy-content, .terms-content {
    color: var(--dark-color);
}

.privacy-content h2, .terms-content h2 {
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.privacy-content h3, .terms-content h3 {
    color: var(--secondary-color);
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.privacy-section-content, .terms-section-content {
    margin-bottom: 30px;
}

.last-updated {
    color: var(--dark-color);
    font-style: italic;
    margin-bottom: 30px;
}

.terms-acknowledgment {
    margin-top: 40px;
    padding: 20px;
    background: rgba(58, 123, 213, 0.1);
    border-radius: 10px;
    text-align: center;
}

/* Success Page */
.success-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
}

.success-content {
    padding: 50px;
    text-align: center;
}

.success-icon {
    margin-bottom: 30px;
}

.success-content h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.next-steps {
    margin-top: 50px;
}

.next-step-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    height: 100%;
    transition: transform var(--transition-medium);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.next-step-item:hover {
    transform: translateY(-5px);
}

.next-step-item h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(33, 37, 41, 0.9);
    backdrop-filter: blur(10px);
    color: white;
    padding: 15px;
    z-index: 9999;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0 20px 0 0;
    flex: 1;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .hero-content {
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin: 0 0 15px 0;
    }
}

@media (max-width: 768px) {
    .block-section {
        padding: 70px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .timeline-item {
        padding-left: 25px;
    }
    
    .timeline-marker {
        width: 12px;
        height: 12px;
    }
    
    .timeline-marker:before {
        left: 6px;
    }
}

@media (max-width: 576px) {
    .hero-section, .page-banner {
        height: 70vh;
    }
    
    .hero-content, .banner-content {
        padding: 20px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .block-section {
        padding: 50px 0;
    }
    
    .timeline-content h4 {
        font-size: 1.1rem;
    }
    
    .footer-section {
        padding: 50px 0 20px;
    }
    
    .social-links a {
        margin-right: 10px;
    }
}