/* ===================================
   CSS VARIABLES
=================================== */
:root {
    --color-primary: #154444;
    --color-secondary: #FFB624;
    --color-dark-teal: #305F64;
    --color-bg: #FCFBFF;
    --color-white: #FFFFFF;
    --color-text: #333333;
    --color-text-light: #666666;
    
    --font-body: "Raleway", sans-serif;
    --font-heading: "Ubuntu", sans-serif;
    
    --shadow-card: 0 8px 24px rgba(21, 68, 68, 0.12);
    --shadow-hover: 0 12px 32px rgba(21, 68, 68, 0.18);
    --transition: all 0.3s ease;
}

/* ===================================
   GLOBAL STYLES
=================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-primary);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

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

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

/* ===================================
   BUTTONS
=================================== */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 0;
    border: none;
    transition: var(--transition);
    text-transform: none;
}

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

.btn-primary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

.btn-outline-primary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-outline-light {
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

.btn-outline-light:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

/* ===================================
   HEADER & NAVIGATION
=================================== */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--color-white);
}

.navbar {
    padding: 1rem 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.logo-mind {
    color: var(--color-primary);
}

.logo-academy {
    color: var(--color-secondary);
    margin-right: 5px;
}

.nav-link {
    font-weight: 500;
    color: var(--color-text) !important;
    padding: 0.5rem 1.25rem !important;
    position: relative;
}

.nav-link:hover {
    color: var(--color-primary) !important;
}

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

.nav-link:hover::after {
    width: calc(100% - 2.5rem);
}

/* ===================================
   HERO SECTION
=================================== */
.hero-section {
    margin-top: 76px;
    min-height: 90vh;
    position: relative;
}

.hero-content-wrapper {
    background-color: var(--color-primary);
    display: flex;
    align-items: center;
    padding: 100px 80px;
    position: relative;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    color: var(--color-white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.hero-image-wrapper {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===================================
   SECTIONS
=================================== */
.section-padding {
    padding: 120px 0;
}

.section-title {
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.section-intro {
    font-size: 1.125rem;
    color: var(--color-text-light);
}

.bg-white {
    background-color: var(--color-white) !important;
}

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

/* ===================================
   TEXT CONTENT BLOCK
=================================== */
.text-content-block {
    background-color: var(--color-white);
    padding: 60px;
    box-shadow: var(--shadow-card);
}

.text-large {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-primary);
    line-height: 1.8;
}

/* ===================================
   IMAGE BLOCKS
=================================== */
.image-block-with-bg {
    position: relative;
    padding-left: 40px;
}

.image-block-with-bg::before {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    width: 100%;
    height: calc(100% - 40px);
    background-color: var(--color-dark-teal);
    z-index: -1;
}

.image-block-with-bg-left {
    position: relative;
    padding-right: 40px;
}

.image-block-with-bg-left::before {
    content: '';
    position: absolute;
    right: 0;
    top: 40px;
    width: 100%;
    height: calc(100% - 40px);
    background-color: var(--color-dark-teal);
    z-index: -1;
}

.shadow-custom {
    box-shadow: var(--shadow-card);
}

/* ===================================
   MISSION SECTION
=================================== */
.mission-item {
    padding: 30px;
}

.mission-icon {
    font-size: 4rem;
    color: var(--color-secondary);
    display: block;
    margin-bottom: 1.5rem;
}

/* ===================================
   SERVICE CARDS
=================================== */
.service-card {
    background-color: var(--color-white);
    padding: 40px 30px;
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

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

.service-icon {
    font-size: 3.5rem;
    color: var(--color-secondary);
    display: block;
    margin-bottom: 1.5rem;
}

.service-card h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    margin-bottom: 0;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* ===================================
   CASE CARDS
=================================== */
.case-card {
    background-color: var(--color-white);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    height: 100%;
    overflow: hidden;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.case-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

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

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

.case-content {
    padding: 30px;
}

.case-content h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.case-content p {
    margin-bottom: 0;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* ===================================
   PROCESS FLOW
=================================== */
.process-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 60px 40px;
    background-color: var(--color-white);
    box-shadow: var(--shadow-card);
}

.process-step {
    text-align: center;
    flex: 1;
}

.process-number {
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.process-step h4 {
    font-size: 1.25rem;
    margin: 0;
}

.process-arrow {
    color: var(--color-secondary);
    font-size: 2rem;
}

.process-arrow .material-icons-outlined {
    font-size: 2.5rem;
}

/* ===================================
   HERO PAGES (Secondary Pages)
=================================== */
.hero-page {
    margin-top: 76px;
    background-color: var(--color-dark-teal);
    padding: 120px 0;
    text-align: center;
}

.hero-page h1 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.hero-page p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto;
}

/* ===================================
   SERVICE DETAIL CARDS
=================================== */
.service-detail-card {
    background-color: var(--color-white);
    padding: 50px;
    box-shadow: var(--shadow-card);
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    gap: 50px;
}

.service-detail-card:nth-child(even) {
    flex-direction: row-reverse;
}

.service-detail-image {
    flex: 0 0 45%;
}

.service-detail-image img {
    width: 100%;
    box-shadow: var(--shadow-card);
}

.service-detail-content {
    flex: 1;
}

.service-detail-content h3 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.service-detail-content p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

/* ===================================
   INFO BLOCKS
=================================== */
.info-block {
    background-color: var(--color-white);
    padding: 40px;
    box-shadow: var(--shadow-card);
    margin-bottom: 30px;
}

.info-block h4 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-block p {
    margin-bottom: 0;
    color: var(--color-text-light);
}

/* ===================================
   EXPERTISE ITEMS
=================================== */
.expertise-item {
    background-color: var(--color-white);
    padding: 30px;
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: var(--transition);
}

.expertise-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.expertise-item h4 {
    font-size: 1.125rem;
    margin: 0;
}

/* ===================================
   ACHIEVEMENT ITEMS
=================================== */
.achievement-item {
    padding: 30px;
    background-color: var(--color-white);
    box-shadow: var(--shadow-card);
    margin-bottom: 30px;
}

.achievement-item h4 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.achievement-item p {
    margin-bottom: 0;
    color: var(--color-text-light);
}

/* ===================================
   TOOLS GRID
=================================== */
.tool-item {
    background-color: var(--color-white);
    padding: 40px 30px;
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: var(--transition);
}

.tool-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.tool-icon {
    font-size: 3rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.tool-item h4 {
    font-size: 1.25rem;
    margin: 0;
}

/* ===================================
   RECOMMENDATIONS
=================================== */
.recommendations-list {
    list-style: none;
    padding: 0;
}

.recommendations-list li {
    padding: 15px 0;
    padding-left: 40px;
    position: relative;
    font-size: 1.05rem;
}

.recommendations-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-size: 1.5rem;
    font-weight: 700;
}

/* ===================================
   CONTACT FORM
=================================== */
.contact-form-section {
    background-color: var(--color-white);
    padding: 60px;
    box-shadow: var(--shadow-card);
}

.contact-info-section {
    background-color: var(--color-primary);
    padding: 60px;
    color: var(--color-white);
}

.contact-info-section h3 {
    color: var(--color-white);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.contact-item .material-icons-outlined {
    color: var(--color-secondary);
    font-size: 1.5rem;
}

.contact-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.form-control {
    border-radius: 0;
    border: 2px solid #E0E0E0;
    padding: 12px 20px;
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: none;
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.invalid-feedback {
    font-size: 0.875rem;
}

.map-section {
    margin-top: 80px;
}

.map-container {
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

/* ===================================
   THANK YOU PAGE
=================================== */
.thankyou-card {
    background-color: var(--color-white);
    padding: 80px 60px;
    box-shadow: var(--shadow-card);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.thankyou-icon {
    font-size: 5rem;
    color: var(--color-secondary);
    margin-bottom: 2rem;
}

.thankyou-card h1 {
    margin-bottom: 1.5rem;
}

.thankyou-card p {
    color: var(--color-text-light);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

/* ===================================
   POLICY PAGES
=================================== */
.policy-content {
    background-color: var(--color-white);
    padding: 60px;
    box-shadow: var(--shadow-card);
}

.policy-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.policy-content h2:first-of-type {
    margin-top: 0;
}

.policy-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.policy-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

/* ===================================
   FOOTER
=================================== */
.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 80px 0 30px;
    margin-top: 80px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

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

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

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

.footer-contacts li {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-contacts .material-icons-outlined {
    color: var(--color-secondary);
    font-size: 1.25rem;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ===================================
   COOKIE BANNER
=================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 25px 0;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-content a {
    color: var(--color-secondary);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

/* ===================================
   RESPONSIVE STYLES
=================================== */
@media (max-width: 991px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }
    
    .section-padding {
        padding: 80px 0;
    }
    
    .hero-section {
        min-height: auto;
    }
    
    .hero-content-wrapper {
        padding: 80px 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-image-wrapper {
        height: 400px;
    }
    
    .text-content-block {
        padding: 40px;
    }
    
    .image-block-with-bg,
    .image-block-with-bg-left {
        padding: 0;
        margin-bottom: 40px;
    }
    
    .image-block-with-bg::before,
    .image-block-with-bg-left::before {
        display: none;
    }
    
    .process-flow {
        flex-direction: column;
        padding: 40px 30px;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        margin: 20px 0;
    }
    
    .service-detail-card {
        flex-direction: column !important;
        padding: 30px;
        gap: 30px;
    }
    
    .service-detail-image {
        flex: 1;
        width: 100%;
    }
    
    .contact-form-section,
    .contact-info-section {
        padding: 40px;
    }
    
    .policy-content {
        padding: 40px;
    }
    
    .thankyou-card {
        padding: 60px 40px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 767px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-content-wrapper {
        padding: 60px 30px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .text-content-block {
        padding: 30px;
    }
    
    .text-large {
        font-size: 1.05rem;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .case-image {
        height: 220px;
    }
    
    .case-content {
        padding: 20px;
    }
    
    .process-number {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 1.25rem;
    }
    
    .mission-icon {
        font-size: 3rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .contact-form-section,
    .contact-info-section {
        padding: 30px;
    }
    
    .policy-content {
        padding: 30px;
    }
    
    .thankyou-card {
        padding: 40px 30px;
    }
    
    .thankyou-icon {
        font-size: 4rem;
    }
    
    .footer {
        padding: 60px 0 20px;
    }
}

@media (max-width: 575px) {
    .btn {
        padding: 12px 28px;
    }
    
    .hero-content-wrapper {
        padding: 40px 20px;
    }
    
    .text-content-block {
        padding: 20px;
    }
    
    .service-detail-card {
        padding: 20px;
    }
    
    .info-block {
        padding: 25px;
    }
    
    .achievement-item,
    .tool-item {
        padding: 25px;
    }
}

