/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #5D4037;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    margin-bottom: 1rem;
    color: #5D4037;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* Color Variables */
:root {
    --primary-color: #5D4037;
    --secondary-color: #D7CCC8;
    --accent-color: #8D9E86;
    --copper-accent: #B87333;
    --white: #FFFFFF;
    --shadow: rgba(93, 64, 55, 0.1);
    --shadow-hover: rgba(93, 64, 55, 0.2);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 35px;
    min-width: 200px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--copper-accent);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #A0662B;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(184, 115, 51, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-accept {
    background-color: var(--copper-accent);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-accept:hover {
    background-color: #A0662B;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(93, 64, 55, 0.3);
    border: 3px solid var(--accent-color);
    z-index: 1000;
    max-width: 380px;
    transform: translateX(150%) translateY(0);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cookie-notice.show {
    transform: translateX(0) translateY(0);
    opacity: 1;
}

.cookie-content {
    display: block;
}

.cookie-content p {
    margin: 0 0 1rem 0;
    color: var(--primary-color);
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-content a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.cookie-content a:hover {
    text-decoration: underline;
}

.btn-accept {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    font-size: 0.9rem;
}

/* Header */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo svg {
    width: 40px;
    height: 40px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    font-weight: 500;
    color: var(--primary-color);
    padding: 0.5rem 0;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--copper-accent);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--copper-accent);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    margin-top: 80px;
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),url(../images/ruralengineeringhub.jpg) no-repeat center center/cover;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    max-width: 600px;
    margin-left: auto;
}

.hero-text {
    text-align: right;
  
    padding: 2.5rem;
    border-radius: 12px;
  
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-text h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-placeholder {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.hero-placeholder svg {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px var(--shadow);
}

/* Features Section */
.features-section {
    padding: 100px 0;
}

.features-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-hover);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Statistics Section */
.stats-section {
    padding: 80px 0;
    background-color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 500;
    opacity: 0.9;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: #FAFAFA;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.about-placeholder {
    width: 100%;
    max-width: 500px;
    height: 350px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 15px 30px var(--shadow);
}

.about-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.about-placeholder svg {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--copper-accent) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--white);
    opacity: 0.9;
}

.cta-section .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Footer */
.main-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
}

.footer-logo p {
    color: var(--white);
}

.footer-section > p {
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.contact-info p,
.schedule p {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.contact-info strong {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom p {
    color: var(--secondary-color);
    margin: 0;
    font-size: 0.9rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: var(--white);
    color: var(--primary-color);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--copper-accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    color: #D32F2F;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #D32F2F;
}

/* Page Header */
.page-header {
    margin-top: 80px;
    padding: 60px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #F5F5F5 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.page-header p {
    font-size: 1.125rem;
    color: var(--primary-color);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* About Page Header - Animated Gears */
.page-header.about-header {
    background: linear-gradient(135deg, #8D9E86 0%, var(--light-brown) 100%);
}

.page-header.about-header::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: url('data:image/svg+xml,<svg width="150" height="150" viewBox="0 0 150 150" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="75" cy="75" r="50" fill="%23B87333" opacity="0.1"/><circle cx="75" cy="75" r="35" fill="none" stroke="%235D4037" stroke-width="3" opacity="0.2"/><rect x="73" y="20" width="4" height="15" fill="%235D4037" opacity="0.2"/><rect x="73" y="115" width="4" height="15" fill="%235D4037" opacity="0.2"/><rect x="20" y="73" width="15" height="4" fill="%235D4037" opacity="0.2"/><rect x="115" y="73" width="15" height="4" fill="%235D4037" opacity="0.2"/></svg>') center/contain no-repeat;
    top: -30px;
    left: 10%;
    animation: rotateGear 20s linear infinite;
}

.page-header.about-header::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="30" fill="%238D9E86" opacity="0.15"/><circle cx="50" cy="50" r="20" fill="none" stroke="%23B87333" stroke-width="2" opacity="0.3"/><rect x="48" y="15" width="4" height="10" fill="%23B87333" opacity="0.3"/><rect x="48" y="75" width="4" height="10" fill="%23B87333" opacity="0.3"/><rect x="15" y="48" width="10" height="4" fill="%23B87333" opacity="0.3"/><rect x="75" y="48" width="10" height="4" fill="%23B87333" opacity="0.3"/></svg>') center/contain no-repeat;
    bottom: -20px;
    right: 15%;
    animation: rotateGear 15s linear infinite reverse;
}

@keyframes rotateGear {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Technologies Page Header - Floating Icons */
.page-header.tech-header {
    background: linear-gradient(135deg, #5D4037 0%, #B87333 100%);
}

.page-header.tech-header h1,
.page-header.tech-header p {
    color: var(--white);
}

.page-header.tech-header::before {
    content: '⚙️';
    position: absolute;
    font-size: 80px;
    top: 20%;
    left: 15%;
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
}

.page-header.tech-header::after {
    content: '🚜';
    position: absolute;
    font-size: 60px;
    bottom: 20%;
    right: 10%;
    opacity: 0.2;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Resources Page Header - Animated Books */
.page-header.resources-header {
    background: linear-gradient(135deg, var(--copper) 0%, #8D9E86 100%);
}

.page-header.resources-header h1,
.page-header.resources-header p {
    color: var(--primary-color);
}

.page-header.resources-header::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 100px;
    background: linear-gradient(90deg, rgba(93, 64, 55, 0.2) 0%, rgba(93, 64, 55, 0.1) 50%, rgba(93, 64, 55, 0.2) 100%);
    border-radius: 4px;
    top: 15%;
    left: 20%;
    animation: bookFlip 4s ease-in-out infinite;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
}

.page-header.resources-header::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 90px;
    background: linear-gradient(90deg, rgba(141, 158, 134, 0.2) 0%, rgba(141, 158, 134, 0.1) 50%, rgba(141, 158, 134, 0.2) 100%);
    border-radius: 4px;
    bottom: 20%;
    right: 25%;
    animation: bookFlip 5s ease-in-out infinite reverse;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
}

@keyframes bookFlip {
    0%, 100% { transform: rotateY(0deg) translateX(0); }
    50% { transform: rotateY(180deg) translateX(10px); }
}

/* Contact Page Header - Pulsing Dots */
.page-header.contact-header {
    background: linear-gradient(135deg, #8D9E86 0%, var(--copper) 100%);
}

.page-header.contact-header h1,
.page-header.contact-header p {
    color: var(--primary-color);
}

.page-header.contact-header::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: 30%;
    left: 25%;
    animation: pulse 3s ease-in-out infinite;
}

.page-header.contact-header::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    bottom: 35%;
    right: 30%;
    animation: pulse 4s ease-in-out infinite 1s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Animated particles background for all page headers */
.page-header .particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    pointer-events: none;
}

.page-header .particle-1 {
    width: 8px;
    height: 8px;
    top: 20%;
    right: 20%;
    animation: particleFloat 8s ease-in-out infinite;
}

.page-header .particle-2 {
    width: 6px;
    height: 6px;
    top: 60%;
    left: 30%;
    animation: particleFloat 10s ease-in-out infinite 2s;
}

.page-header .particle-3 {
    width: 10px;
    height: 10px;
    bottom: 25%;
    left: 15%;
    animation: particleFloat 12s ease-in-out infinite 4s;
}

.page-header .particle-4 {
    width: 7px;
    height: 7px;
    top: 40%;
    right: 35%;
    animation: particleFloat 9s ease-in-out infinite 1s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.3;
    }
    25% {
        transform: translate(20px, -20px);
        opacity: 0.6;
    }
    50% {
        transform: translate(-15px, -40px);
        opacity: 0.3;
    }
    75% {
        transform: translate(-30px, -20px);
        opacity: 0.6;
    }
}

/* Additional animated decorations for page headers */

/* About Header - Growing Plant Animation */
.page-header.about-header .container::before {
    content: '🌱';
    position: absolute;
    font-size: 50px;
    left: -80px;
    top: 50%;
    transform: translateY(-50%);
    animation: growPlant 8s ease-in-out infinite;
    filter: opacity(0.4);
}

@keyframes growPlant {
    0%, 100% { 
        transform: translateY(-50%) scale(1);
    }
    50% { 
        transform: translateY(-50%) scale(1.3);
    }
}

/* Technologies Header - Circuit Lines */
.page-header.tech-header .container {
    position: relative;
}

.page-header.tech-header .container::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    top: 50%;
    left: -220px;
    animation: circuitPulse 3s ease-in-out infinite;
}

.page-header.tech-header .container::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    top: 50%;
    right: -220px;
    animation: circuitPulse 3s ease-in-out infinite 1.5s;
}

@keyframes circuitPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scaleX(1);
    }
    50% {
        opacity: 1;
        transform: scaleX(1.2);
    }
}

/* Resources Header - Flying Pages */
.page-header.resources-header .container::before {
    content: '📄';
    position: absolute;
    font-size: 40px;
    left: -70px;
    top: 30%;
    animation: flyingPage 6s ease-in-out infinite;
    filter: opacity(0.3);
}

.page-header.resources-header .container::after {
    content: '📚';
    position: absolute;
    font-size: 45px;
    right: -75px;
    bottom: 20%;
    animation: flyingPage 7s ease-in-out infinite reverse;
    filter: opacity(0.35);
}

@keyframes flyingPage {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(5deg);
    }
    50% {
        transform: translateY(-25px) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) rotate(-5deg);
    }
}

/* Contact Header - Signal Waves */
.page-header.contact-header .container::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    left: -90px;
    top: 50%;
    transform: translateY(-50%);
    animation: signalWave 4s ease-out infinite;
}

.page-header.contact-header .container::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    right: -90px;
    top: 50%;
    transform: translateY(-50%);
    animation: signalWave 4s ease-out infinite 2s;
}

@keyframes signalWave {
    0% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-50%) scale(2.5);
        opacity: 0;
    }
}

/* Shine effect on page header titles */
.page-header h1 {
    position: relative;
    display: inline-block;
}

.page-header h1::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shine 8s ease-in-out infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20%, 100% {
        left: 100%;
    }
}

/* Animated gradient backgrounds for page headers */
.page-header.about-header {
    background: linear-gradient(135deg, #8D9E86 0%, var(--light-brown) 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

.page-header.tech-header {
    background: linear-gradient(135deg, #5D4037 0%, #B87333 50%, #8D9E86 100%);
    background-size: 200% 200%;
    animation: gradientShift 12s ease infinite;
}

.page-header.resources-header {
    background: linear-gradient(135deg, var(--copper) 0%, #8D9E86 50%, var(--light-brown) 100%);
    background-size: 200% 200%;
    animation: gradientShift 18s ease infinite;
}

.page-header.contact-header {
    background: linear-gradient(135deg, #8D9E86 0%, var(--copper) 50%, #5D4037 100%);
    background-size: 200% 200%;
    animation: gradientShift 14s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Hover effects on page headers */
.page-header:hover .particle {
    animation-play-state: paused;
}

.page-header h1 {
    transition: transform 0.3s ease;
}

.page-header:hover h1 {
    transform: scale(1.05);
}

.page-header p {
    transition: opacity 0.3s ease;
}

.page-header:hover p {
    opacity: 0.9;
}

/* Content Section */
.content-section {
    padding: 80px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.content-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-hover);
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Form Container */
.contact-form {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(93, 64, 55, 0.15);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--light-brown);
}

.form-icon {
    margin: 0 auto 1rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--sage-green), var(--copper-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.form-icon img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
}

.form-header h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #666;
    font-size: 0.95rem;
}

/* Form Groups with Icons */
.contact-form .form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.contact-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.input-icon {
    flex-shrink: 0;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 2.8rem;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #FAFAFA;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--sage-green);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(141, 158, 134, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.btn-primary {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;

    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(141, 158, 134, 0.4);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(5px);
}

/* Contact Info Card */
.contact-info-card {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    padding: 2.5rem;
    border-radius: 16px;
    color: var(--white);
    box-shadow: 0 10px 40px rgba(93, 64, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.info-card-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.info-card-header h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.info-card-header p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.contact-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 8px;
}

.contact-icon img {
    width: 100%;
    height: 100%;
}

.contact-details {
    flex: 1;
}

.contact-details strong {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.contact-details p {
    margin: 0;
    line-height: 1.6;
}

.contact-details a {
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.contact-details a:hover {
    border-bottom-color: var(--white);
    opacity: 0.8;
}

/* Quick Actions */
.quick-actions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.quick-actions h4 {
    color: var(--white);
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.2rem;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: var(--light-brown);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-icon {
    margin: 0 auto 1.5rem;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--sage-green), var(--copper-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.section-icon img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
}

.section-header h2 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(93, 64, 55, 0.15);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #FAFAFA;
}

.faq-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-brown);
    border-radius: 8px;
    padding: 8px;
}

.faq-question h3 {
    flex: 1;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin: 0;
}

.faq-toggle {
    background: var(--sage-green);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-toggle:hover {
    background: var(--copper-accent);
    transform: rotate(180deg);
}

.faq-toggle svg {
    color: var(--white);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* Feature Cards Interactive */
.interactive-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.interactive-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(141, 158, 134, 0.1), transparent);
    transition: left 0.5s ease;
}

.interactive-card:hover::before {
    left: 100%;
}

.interactive-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(93, 64, 55, 0.2);
}

.card-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-brown);
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--sage-green);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.feature-link:hover {
    color: var(--copper-accent);
    gap: 0.75rem;
}

.feature-link svg {
    transition: transform 0.3s ease;
}

.feature-link:hover svg {
    transform: translateX(3px);
}

/* Map Section */
.map-container {
    margin-top: 3rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
    border: 3px solid var(--light-brown);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}
@media (max-width: 981px) {
 .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav li {
        border-bottom: 1px solid var(--light-brown);
    }
    
    .main-nav li:last-child {
        border-bottom: none;
    }
    
    .main-nav a {
        display: block;
        text-align: center;
        padding: 1rem 2rem;
        color: var(--primary-color);
    }
    
    .main-nav a:hover,
    .main-nav a.active {
        background: var(--light-brown);
        color: var(--accent-color);
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero-content {
        align-items: center;
        margin-left: 0;
        max-width: 100%;
    }
    
    .hero-text {
        text-align: center;
        padding: 2rem 1.5rem;
    }
    
   
    .hero-buttons {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section,
    .features-section,
    .about-section,
    .cta-section {
        padding: 60px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        text-align: center;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--copper-accent);
    outline-offset: 2px;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Policy Pages Styling */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-header {
    background: #F9F7F5;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent-color);
}

.update-date {
    margin: 0;
    color: var(--primary-color);
    font-weight: 500;
}

.policy-section {
    background: white;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #F0F0F0;
}

.policy-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-brown);
}

.policy-text {
    color: #444;
    line-height: 1.6;
}

.policy-text ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.policy-text li {
    margin-bottom: 0.5rem;
}

.policy-text strong {
    color: var(--primary-color);
}

.policy-text a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.policy-text a:hover {
    text-decoration: underline;
}

.policy-footer {
    background: #F5F5F5;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    border: 1px solid #E0E0E0;
}

.policy-footer p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* New Sections Styling */

/* Innovation Section */
.innovation-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #F9F7F5 0%, #FFFFFF 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-icon img {
    width: 100%;
    height: 100%;
}

.innovation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.innovation-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #F0F0F0;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.innovation-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.innovation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.innovation-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.innovation-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.feature-tag {
    background: var(--light-brown);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Gallery Section */
.gallery-section {
    padding: 4rem 0;
    background-color: #FAFAFA;
}

.gallery-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.gallery-slide {
    min-width: 100%;
    background: white;
}

.gallery-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
}

.gallery-image {
    background: var(--light-brown);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.gallery-image img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: auto;
}

.gallery-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gallery-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.tech-specs {
    list-style: none;
    margin-top: 1.5rem;
}

.tech-specs li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #F0F0F0;
}

.tech-specs li:last-child {
    border-bottom: none;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary-color);
}

.carousel-btn:hover img {
    filter: brightness(0) invert(1);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #D0D0D0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background: var(--accent-color);
}

/* Quality Education Section */
.quality-education-section {
    padding: 4rem 0;
    background: white;
}

.quality-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.quality-features {
    margin-top: 2rem;
}

.quality-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #F9F7F5;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.feature-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    min-width: 80px;
}

.feature-text h4 {
    margin: 0 0 0.25rem 0;
    color: var(--primary-color);
}

.feature-text p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Benefits Section */
.benefits-section {
    padding: 4rem 0;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
}

.benefit-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

/* Programs Section */
.programs-section {
    padding: 4rem 0;
    background: #FAFAFA;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.program-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #F0F0F0;
    transition: all 0.3s ease;
    position: relative;
}

.program-card.featured {
    border-color: var(--accent-color);
    transform: scale(1.02);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.program-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.program-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.program-details {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #F9F7F5;
    border-radius: 8px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-label {
    font-weight: 500;
    color: var(--primary-color);
}

.detail-value {
    color: #666;
}

.program-btn {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}

.program-btn:hover {
    background: #A0732D;
}

/* Feature Lists */
.feature-list {
    margin-top: 1rem;
    padding-left: 0;
    list-style: none;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
    font-size: 0.9rem;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Interactive Elements */
.interactive-card {
    cursor: pointer;
}

.interactive-card:hover {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Animation Classes */
[data-animation="slide-up"] {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

[data-animation="slide-up"].animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-content {
        grid-template-columns: 1fr;
    }
    
    .quality-content {
        grid-template-columns: 1fr;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn.prev {
        left: 10px;
    }
    
    .carousel-btn.next {
        right: 10px;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .program-card.featured {
        transform: none;
    }
}

/* Form Validation Styles */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

input.error,
textarea.error,
select.error {
    border-color: #e74c3c;
    background-color: #fdf2f2;
}

input.success,
textarea.success,
select.success {
    border-color: #27ae60;
    background-color: #f2fbf6;
}

.error-message {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

/* Loading and transition effects */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.bounce-in {
    animation: bounceIn 0.8s ease-out;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

/* About Page Specific Styles */

/* Enhanced content cards with icons */
.content-card {
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #F0F0F0;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.content-card.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.content-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.achievement-details {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-item {
    font-size: 0.9rem;
    color: #666;
    padding-left: 1rem;
    position: relative;
}

.detail-item:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Team cards enhancements */
.team-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--light-brown);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(93, 64, 55, 0.2);
    transition: transform 0.3s ease;
    border: 3px solid #8D9E86;
}

.team-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(93, 64, 55, 0.3);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-achievements {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.achievement-tag {
    background: var(--light-brown);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Facilities Section */
.facilities-section {
    padding: 4rem 0;
    background: white;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.facility-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
}

.facility-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.facility-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: var(--light-brown);
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.facility-card:hover .facility-image img {
    transform: scale(1.05);
}

.facility-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(93, 64, 55, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.facility-card:hover .facility-overlay {
    opacity: 1;
}

.facility-info h4 {
    color: white;
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.facility-info p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.9rem;
}

.facility-content {
    padding: 2rem;
}

.facility-features {
    list-style: none;
    margin-top: 1rem;
    padding: 0;
}

.facility-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
    font-size: 0.9rem;
}

.facility-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Excellence Section */
.excellence-section {
    padding: 4rem 0;
    background: #FAFAFA;
}

.excellence-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    text-align: center;
}

.certification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.certification-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.certification-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-color);
}

.cert-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.cert-info h4 {
    margin: 0 0 0.75rem 0;
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 700;
}

.cert-info p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--primary-color);
    opacity: 0.85;
}

.excellence-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--primary-color);
    font-weight: 500;
}

/* Research Section */
.research-section {
    padding: 4rem 0;
    background: white;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.research-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #F0F0F0;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.research-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.research-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.research-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
}

.research-results {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.result-item {
    background: var(--light-brown);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Partnership Section */
.partnership-section {
    padding: 4rem 0;
    background: #FAFAFA;
}

.partnership-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.partner-category h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.partners-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.partner-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.partner-item:hover {
    transform: translateX(5px);
}

.partner-logo {
    width: 100px;
    height: 50px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F8F8F8;
    border-radius: 4px;
}

.partner-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* Future Plans Section */
.future-plans-section {
    padding: 4rem 0;
    background: white;
}

.plans-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.timeline {
    margin-top: 2rem;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #F0F0F0;
}

.timeline-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.timeline-year {
    background: var(--accent-color);
    color: white;
    padding: 1rem;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.timeline-content h4 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
}

.timeline-content p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

.vision-card {
    background: var(--light-brown);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    height: fit-content;
}

.vision-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.vision-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.vision-card p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    
    .excellence-content {
        grid-template-columns: 1fr;
    }
    
    .plans-content {
        grid-template-columns: 1fr;
    }
    
    .partnership-categories {
        grid-template-columns: 1fr;
    }
    
    .certification-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .timeline-year {
        align-self: flex-start;
    }
    
    .excellence-stats {
   
        flex-wrap: wrap;
    }
    
    .stat-card {
        flex: 1;
        min-width: 150px;
    }
    
    .tech-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .tech-benefits {
        grid-template-columns: 1fr;
    }
    
    .tech-tags {
        justify-content: center;
    }
}

/* Technologies Page Styles */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--light-brown) 0%, var(--sage-green) 100%);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(93, 64, 55, 0.2);
}

.section-subtitle {
    color: var(--copper);
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.tech-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
}

.tech-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--brown);
}

.tech-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--sage-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.tech-innovation-section {
    background: linear-gradient(180deg, #FAFAFA 0%, var(--light-brown) 100%);
}

.interactive-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.interactive-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(93, 64, 55, 0.25);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--light-brown);
    border-radius: 12px;
}

.tech-stats {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--light-brown);
}

.stat-item {
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 1.5rem;
    color: var(--copper);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-item span {
    display: block;
    font-size: 0.85rem;
    color: var(--brown);
}

.tech-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit-item {
    padding: 1.5rem;
    background: var(--light-brown);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-4px);
}

.benefit-item strong {
    display: block;
    color: var(--brown);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.benefit-item p {
    margin: 0;
    color: var(--brown);
    font-size: 0.95rem;
}

.tech-advanced-section {
    background: var(--white);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.tech-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--sage-green);
    color: var(--accent-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.tech-tag:hover {
    background: var(--copper);
}

.tech-monitoring-section {
    background: linear-gradient(180deg, var(--light-brown) 0%, #FAFAFA 100%);
}

/* Fade-in animation for tech sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }
.fade-in:nth-child(5) { animation-delay: 0.5s; }
.fade-in:nth-child(6) { animation-delay: 0.6s; }

/* Resources Page Styles */
.resource-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
}

.resource-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--brown);
}

.resource-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--sage-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.resource-digital-section {
    background: linear-gradient(180deg, #FAFAFA 0%, var(--white) 100%);
}

.resource-stats {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--light-brown);
}

.book-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--sage-green);
    padding: 0.5rem;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(93, 64, 55, 0.2);
    transition: transform 0.3s ease;
}

.book-badge:hover {
    transform: scale(1.1);
}

.book-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.detail-tag {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--light-brown);
    color: var(--brown);
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.resource-research-section {
    background: var(--white);
}

.research-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 2rem;
    background: var(--light-brown);
    border-radius: 12px;
}

.metric-item {
    text-align: center;
}

.metric-item strong {
    display: block;
    font-size: 2rem;
    color: var(--copper);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.metric-item span {
    display: block;
    font-size: 0.9rem;
    color: var(--brown);
}

.resource-practical-section {
    background: linear-gradient(180deg, var(--light-brown) 0%, #FAFAFA 100%);
}

.resource-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.resource-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--sage-green);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.resource-tag:hover {
    background: var(--copper);
}

.resource-community-section {
    background: var(--white);
}

.news-date {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--copper);
 
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(93, 64, 55, 0.2);
}

.news-date strong {
    font-size: 1.2rem;
    line-height: 1;
}

.news-date span {
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.news-tag {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--light-brown);
    color: var(--brown);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Responsive adjustments for resources */
@media (max-width: 768px) {
    .research-metrics {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .resource-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .resource-tags,
    .news-tags {
        justify-content: center;
    }
    
    /* Contact Page Responsive */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form,
    .contact-info-card {
        padding: 1.5rem;
    }
    
    .form-header h2,
    .info-card-header h3 {
        font-size: 1.5rem;
    }
    
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 0.8rem 1rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-icon {
        width: 35px;
        height: 35px;
    }
    
    .section-icon {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .form-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .contact-icon {
        margin-bottom: 0.5rem;
    }
    
    .faq-question {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .faq-icon {
        width: 30px;
        height: 30px;
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
    }
    
    .faq-toggle {
        width: 30px;
        height: 30px;
    }
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--secondary-color);
    border-top: 2px solid var(--copper-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Thank You Page - Alternative Contact Cards */
.contact-method-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(93, 64, 55, 0.2) !important;
    border-color: var(--sage-green) !important;
}

.contact-method-card a:hover {
    border-bottom-color: currentColor !important;
}

.alternative-contact-section .contact-method-card {
    cursor: pointer;
}

/* ========================================
   POLICY PAGES STYLING
   ======================================== */

/* Policy Content Container */
.policy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 0;
}

/* Policy Intro */
.policy-intro {
    margin-bottom: 3rem;
}

.update-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #f8f5f3 0%, #ede7e3 100%);
    border-left: 4px solid var(--copper-accent);
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow);
    margin-bottom: 2rem;
}

.update-date-badge span {
    font-size: 0.95rem;
    color: var(--primary-color);
}

/* Policy Highlight Section */
.policy-highlight-section {
    background: linear-gradient(135deg, #f8f5f3 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 24px var(--shadow);
    text-align: center;
    border: 2px solid var(--secondary-color);
}

.policy-icon {
    margin: 0 auto 1.5rem;
    width: 56px;
    height: 56px;
}

.policy-highlight-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.policy-highlight-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--primary-color);
    opacity: 0.9;
}

/* Policy Section */
.policy-section {
    margin-bottom: 3.5rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--secondary-color);
}

.section-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--copper-accent) 0%, #A0662B 100%);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(184, 115, 51, 0.3);
}

.section-header h2 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.75rem;
}

.policy-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--primary-color);
}

.policy-text p {
    margin-bottom: 1.5rem;
}

.policy-text ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.policy-text ul li {
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    position: relative;
}

.policy-text ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--copper-accent);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border-radius: 12px;
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--accent-color);
    box-shadow: 0 6px 20px var(--shadow);
    transform: translateY(-3px);
}

.feature-icon-small {
    flex-shrink: 0;
}

.feature-item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Cookie Types Grid */
.cookie-types-grid {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.cookie-type-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 6px 20px var(--shadow);
    transition: all 0.3s ease;
}

.cookie-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px var(--shadow-hover);
}

.cookie-type-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.cookie-type-icon {
    flex-shrink: 0;
}

.cookie-type-header h3 {
    flex: 1;
    margin: 0;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.cookie-badge {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-badge.required {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    color: #c62828;
}

.cookie-badge.functional {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #2e7d32;
}

.cookie-badge.analytics {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1565c0;
}

.cookie-description {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    opacity: 0.9;
}

.cookie-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cookie-features li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    border-bottom: 1px solid var(--secondary-color);
    position: relative;
}

.cookie-features li:last-child {
    border-bottom: none;
}

.cookie-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Cookie Table */
.cookie-table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 6px 20px var(--shadow);
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.cookie-table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a342e 100%);
    color: white;
}

.cookie-table th {
    padding: 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.cookie-table td {
    padding: 1.25rem;
    border-bottom: 1px solid var(--secondary-color);
}

.cookie-table tbody tr:hover {
    background: #f8f5f3;
}

.cookie-table tbody tr:last-child td {
    border-bottom: none;
}

.cookie-table code {
    background: #f5f5f5;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--copper-accent);
}

.duration-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e0d5d1 100%);
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Third Party Services */
.third-party-services {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border-radius: 10px;
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.service-item:hover {
    border-color: var(--accent-color);
    box-shadow: 0 6px 20px var(--shadow);
}

.service-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.service-item div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.service-item strong {
    color: var(--primary-color);
    font-size: 1.05rem;
}

.service-item span {
    color: var(--primary-color);
    opacity: 0.8;
    font-size: 0.95rem;
}

/* Management Section */
.management-section {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f5f3 0%, #ffffff 100%);
    border-radius: 12px;
    border-left: 4px solid var(--copper-accent);
}

.management-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    font-size: 1.3rem;
}

.browser-controls {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.browser-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--secondary-color);
}

.browser-item strong {
    color: var(--primary-color);
    font-size: 1rem;
}

.browser-item span {
    color: var(--primary-color);
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Info Cards Grid */
.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.info-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 6px 20px var(--shadow);
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px var(--shadow-hover);
}

.info-card-icon {
    margin-bottom: 1.5rem;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.info-card p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card ul li {
    padding: 0.5rem 0 0.5rem 1.75rem;
    position: relative;
    font-size: 0.95rem;
}

.info-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--copper-accent);
    font-size: 1.5rem;
    line-height: 1;
}

.info-card.warning {
    border-color: #ffb74d;
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
}

.info-card.mobile {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, #f1f8f4 0%, #ffffff 100%);
}

/* Consent Section */
.consent-section {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.consent-box {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f5f3 0%, #ffffff 100%);
    border-radius: 12px;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 12px var(--shadow);
}

.consent-box svg {
    flex-shrink: 0;
}

.consent-box h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.consent-box p {
    line-height: 1.7;
    margin: 0;
}

/* Data Types Grid (Privacy) */
.data-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.data-type-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 6px 20px var(--shadow);
    transition: all 0.3s ease;
}

.data-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px var(--shadow-hover);
    border-color: var(--accent-color);
}

.data-type-icon {
    margin: 0 auto 1.5rem;
    width: 48px;
    height: 48px;
}

.data-type-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.data-type-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Purpose List (Privacy) */
.purpose-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.purpose-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.purpose-item:hover {
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px var(--shadow);
}

.purpose-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.purpose-item span {
    font-size: 1rem;
    line-height: 1.7;
}

/* Two Column Section */
.two-column-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.column-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 6px 20px var(--shadow);
    transition: all 0.3s ease;
}

.column-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px var(--shadow-hover);
}

.column-icon {
    margin-bottom: 1.5rem;
}

.column-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    font-size: 1.3rem;
}

.column-card p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.column-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.column-card ul li {
    padding: 0.5rem 0 0.5rem 1.75rem;
    position: relative;
    font-size: 0.95rem;
}

.column-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

.inline-link {
    color: var(--copper-accent);
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.inline-link:hover {
    border-bottom-color: var(--copper-accent);
}

/* Rights Grid (Privacy) */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.right-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.right-item:hover {
    border-color: var(--accent-color);
    box-shadow: 0 6px 20px var(--shadow);
    transform: translateY(-3px);
}

.right-icon {
    margin-bottom: 1rem;
}

.right-item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Storage & Updates Grid */
.storage-update-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.storage-card {
    background: linear-gradient(135deg, #f8f5f3 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 6px 20px var(--shadow);
    transition: all 0.3s ease;
}

.storage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px var(--shadow-hover);
}

.storage-card svg {
    margin: 0 auto 1.5rem;
}

.storage-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    font-size: 1.3rem;
}

.storage-card p {
    margin-bottom: 1rem;
    line-height: 1.7;
    text-align: left;
}

.storage-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.storage-card ul li {
    padding: 0.5rem 0 0.5rem 1.75rem;
    position: relative;
    font-size: 0.95rem;
}

.storage-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--copper-accent);
    font-weight: 700;
}

/* Services Grid (Terms) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 6px 20px var(--shadow);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px var(--shadow-hover);
    border-color: var(--accent-color);
}

.service-item svg {
    margin-bottom: 1.25rem;
}

.service-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.service-item p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Intellectual Property Box (Terms) */
.intellectual-property-box {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #f8f5f3 0%, #ffffff 100%);
    border-radius: 16px;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 6px 20px var(--shadow);
    margin: 2rem 0;
}

.intellectual-property-box svg {
    flex-shrink: 0;
}

.intellectual-property-box p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.intellectual-property-box h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.intellectual-property-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.intellectual-property-box ul li {
    padding: 0.5rem 0 0.5rem 1.75rem;
    position: relative;
}

.intellectual-property-box ul li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #d32f2f;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Liability & Privacy Grid (Terms) */
.liability-privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.liability-card,
.privacy-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 6px 20px var(--shadow);
    transition: all 0.3s ease;
}

.liability-card:hover,
.privacy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px var(--shadow-hover);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.card-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.privacy-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, var(--copper-accent) 0%, #A0662B 100%);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.privacy-link:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(184, 115, 51, 0.3);
}

/* Changes & Termination Section (Terms) */
.changes-termination-section {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.changes-box,
.termination-box {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f5f3 0%, #ffffff 100%);
    border-radius: 12px;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 12px var(--shadow);
}

.changes-box svg,
.termination-box svg {
    flex-shrink: 0;
}

.changes-box h3,
.termination-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.changes-box p,
.termination-box p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.changes-box ul,
.termination-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.changes-box ul li,
.termination-box ul li {
    padding: 0.5rem 0 0.5rem 1.75rem;
    position: relative;
    font-size: 0.95rem;
}

.changes-box ul li::before,
.termination-box ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--copper-accent);
    font-weight: 700;
}

.info-card.legal-jurisdiction,
.info-card.updates {
    background: linear-gradient(135deg, #f8f5f3 0%, #ffffff 100%);
}

/* Policy Contact Section */
.policy-contact-section {
    background: linear-gradient(135deg, #f8f5f3 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem 0;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 8px 24px var(--shadow);
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header svg {
    margin: 0 auto 1.5rem;
}

.contact-header h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-header p {
    font-size: 1.1rem;
    color: var(--primary-color);
    opacity: 0.9;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.75rem;
    background: white;
    border-radius: 12px;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 12px var(--shadow);
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-hover);
    border-color: var(--accent-color);
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
  
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-method > div {
    flex: 1;
}

.contact-method strong {
    display: block;
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.contact-method a,
.contact-method span {
    display: block;
    color: var(--copper-accent);
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-method a:hover {
    color: #A0662B;
    text-decoration: underline;
}

/* Resources Section */
.resources-section {
    margin: 2.5rem 0;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    border: 2px solid var(--secondary-color);
}

.resources-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.resources-section p {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    opacity: 0.9;
}

.resource-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.resource-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #f8f5f3 0%, #ffffff 100%);
    border-radius: 10px;
    border: 2px solid var(--secondary-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.resource-link:hover {
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px var(--shadow);
    transform: translateX(5px);
}

.resource-link svg {
    flex-shrink: 0;
}

/* Policy Footer Note */
.policy-footer-note {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.75rem;
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
    border-radius: 12px;
    border-left: 4px solid var(--copper-accent);
    margin-top: 3rem;
}

.policy-footer-note svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.policy-footer-note small {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--primary-color);
}

.policy-footer-note a {
    color: var(--copper-accent);
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.policy-footer-note a:hover {
    border-bottom-color: var(--copper-accent);
}

/* Responsive Styles for Policy Pages */
@media (max-width: 768px) {
    .policy-content {
        padding: 2rem 0;
    }
    
    .policy-highlight-section {
        padding: 2rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .section-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .cookie-type-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-types-grid,
    .data-types-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .two-column-section,
    .info-cards-grid,
    .storage-update-grid,
    .liability-privacy-grid {
        grid-template-columns: 1fr;
    }
    
    .intellectual-property-box {
        flex-direction: column;
        padding: 1.75rem;
    }
    
    .policy-contact-section {
        padding: 2rem;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .consent-box,
    .changes-box,
    .termination-box {
        flex-direction: column;
    }
}


