:root {
    /* الألوان الأساسية */
    --primary-color: #006837;
    --primary-hover: #004d29;
    --secondary-color: #fecb00;
    --secondary-hover: #e6b800;
    
    /* ألوان النصوص والخلفيات */
    --text-main: #333333;
    --text-light: #777777;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    
    /* ألوان الحالة */
    --danger-color: #dc3545;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    
    /* تأثيرات الزجاج والظلال */
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-blur: 10px;
    --shadow-sm: 0 2px 5px rgba(0,0,0,0.05);
    --shadow: 0 5px 15px rgba(0,0,0,0.08);
    --shadow-hover: 0 10px 30px rgba(0,0,0,0.12);
    --border-color: #e9ecef;
    --radius-sm: 8px;
    --radius-md: 15px;
    --radius-lg: 25px;
}

/* --- Reset & Typography --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.8;
    direction: rtl;
    text-align: right;
    font-size: 16px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 1rem;
    text-align: center;
    gap: 8px;
    line-height: 1.2;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 104, 55, 0.25);
}

.btn-accent {
    background-color: var(--secondary-color);
    color: var(--text-main);
}

.btn-accent:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 203, 0, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-danger {
    background-color: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background-color: #c82333;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 6px 15px;
    font-size: 0.85rem;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* --- Header --- */
.main-header {
    background-color: var(--bg-white);
    border-bottom: 3px solid var(--primary-color);
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Green Header on Scroll */
.main-header.scrolled {
    background-color: var(--primary-color);
    border-bottom-color: var(--secondary-color);
    padding: 10px 0;
}

.main-header.scrolled .header-text h1,
.main-header.scrolled .header-text p {
    color: white !important;
}

.main-header.scrolled .mobile-menu-btn {
    color: white;
}

.main-header.scrolled .search-trigger {
    color: rgba(255, 255, 255, 0.8);
}

.main-header.scrolled .search-trigger:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Update buttons in green header */
.main-header.scrolled .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.main-header.scrolled .btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
}

.main-header.scrolled .btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-main);
}

.main-header.scrolled .btn-primary:hover {
    background-color: #fff;
    color: var(--primary-color);
}

/* Make logo slightly smaller on scroll for cleaner look */
.main-header.scrolled .university-logo {
    height: 50px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.university-logo {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease, height 0.3s ease;
}

.brand-wrapper:hover .university-logo {
    transform: scale(1.05);
}

.header-text h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 800;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.header-text p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    transition: color 0.3s ease;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-trigger {
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-light);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-trigger:hover {
    background-color: #f1f1f1;
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

/* --- Hero Slider --- */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    background-color: #000;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6)); /* Enhanced overlay */
}

.slide-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 650px;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.6;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.slider-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.slider-dot.active {
    background-color: var(--secondary-color);
    transform: scale(1.3);
    border-color: rgba(0,0,0,0.1);
}

/* --- Sections Common --- */
section {
    padding: 80px 0;
    position: relative;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    font-weight: 800;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-desc {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* --- Achievements / Stats --- */
.achievements-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #004d29 100%);
    color: white;
    padding: 60px 0;
    margin-top: -5px; /* Fix gap */
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.achievement-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(5px);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.achievement-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: inline-block;
}

.achievement-number {
    font-size: 3rem;
    font-weight: 800;
    display: block;
    margin-bottom: 5px;
    line-height: 1;
}

.achievement-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* --- Grid Systems --- */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* --- News Cards --- */
.news-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.news-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img-wrapper img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: var(--text-main);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.news-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
    line-height: 1.4;
}

.news-summary {
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
    font-size: 0.95rem;
}

/* --- College Cards --- */
.colleges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.college-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.college-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.college-logo, .college-logo-placeholder {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
}

.college-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 2.5rem;
}

.college-card h3 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 20px;
    font-weight: 700;
}

/* --- Vision Cards --- */
.vision-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    text-align: center;
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
}

.vision-card:hover {
    border-bottom-color: var(--secondary-color);
    transform: translateY(-5px);
}

.vision-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(0, 104, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.vision-card:hover .vision-icon {
    background: var(--primary-color);
    color: white;
}

.vision-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.vision-card p {
    color: var(--text-light);
    font-size: 1rem;
}

/* --- Support Section --- */
.support-card {
    background: var(--bg-white);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
}

.support-icon {
    font-size: 4rem;
    color: var(--danger-color); /* Love/Heart color */
    margin-bottom: 20px;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.1); }
    30% { transform: scale(1); }
    45% { transform: scale(1.1); }
    60% { transform: scale(1); }
}

.support-card h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.support-count {
    background: var(--bg-light);
    display: inline-flex;
    flex-direction: column;
    padding: 15px 40px;
    border-radius: var(--radius-md);
    margin: 30px 0;
    border: 2px solid #eee;
}

.count-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.count-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 5px;
}

/* --- Googa AI Section --- */
.googa-ai-section {
    background: linear-gradient(135deg, 
        rgba(0, 104, 55, 0.06) 0%, 
        rgba(0, 104, 55, 0.02) 50%, 
        rgba(254, 203, 0, 0.03) 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    margin-top: -1px;
}

.googa-ai-section .section-title-wrapper {
    position: relative;
    z-index: 1;
}

.googa-ai-section .section-title {
    position: relative;
    display: inline-block;
}

.googa-ai-section .section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -50px;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
    transform: translateY(-50%);
    border-radius: 2px;
}

.googa-ai-section .section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -50px;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color));
    transform: translateY(-50%);
    border-radius: 2px;
}

.googa-ai-section::before,
.googa-ai-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float-bg 20s ease-in-out infinite;
}

.googa-ai-section::before {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 104, 55, 0.3) 0%, transparent 70%);
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

.googa-ai-section::after {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(254, 203, 0, 0.3) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation-delay: 2s;
}

@keyframes float-bg {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.googa-ai-card {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    padding: 60px 50px;
    align-items: center;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 104, 55, 0.1);
    box-shadow: 
        0 20px 60px rgba(0, 104, 55, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset,
        0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fadeInUp 0.8s ease forwards;
    isolation: isolate;
}

.googa-ai-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, 
        rgba(254, 203, 0, 0.1) 0%, 
        transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
    pointer-events: none;
    z-index: 0;
}

.googa-ai-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 30px 80px rgba(0, 104, 55, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset,
        0 2px 8px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 104, 55, 0.15);
}

.googa-ai-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(0, 104, 55, 0.03) 0%, 
        rgba(254, 203, 0, 0.05) 50%,
        rgba(0, 104, 55, 0.03) 100%);
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

/* Animated Particles */
.ai-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.ai-particles .particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--secondary-color);
    border-radius: 50%;
    opacity: 0.4;
    animation: particle-float 15s infinite ease-in-out;
    box-shadow: 0 0 10px currentColor;
    transition: all 0.3s ease;
}

.googa-ai-card:hover .ai-particles .particle {
    opacity: 0.6;
    box-shadow: 0 0 15px currentColor;
}

.ai-particles .particle:nth-child(1) {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
    background: var(--primary-color);
    width: 7px;
    height: 7px;
}

.ai-particles .particle:nth-child(2) {
    top: 60%;
    right: 30%;
    animation-delay: 2s;
    width: 8px;
    height: 8px;
}

.ai-particles .particle:nth-child(3) {
    top: 40%;
    left: 15%;
    animation-delay: 4s;
    background: var(--primary-color);
    width: 6px;
    height: 6px;
}

.ai-particles .particle:nth-child(4) {
    bottom: 25%;
    right: 20%;
    animation-delay: 6s;
    width: 5px;
    height: 5px;
    background: var(--primary-color);
}

.ai-particles .particle:nth-child(5) {
    top: 80%;
    left: 25%;
    animation-delay: 8s;
    background: var(--primary-color);
    width: 7px;
    height: 7px;
}

@keyframes particle-float {
    0%, 100% { 
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.4;
    }
    25% { 
        transform: translate(20px, -30px) scale(1.2) rotate(90deg);
        opacity: 0.6;
    }
    50% { 
        transform: translate(-15px, -50px) scale(0.8) rotate(180deg);
        opacity: 0.3;
    }
    75% { 
        transform: translate(30px, -20px) scale(1.1) rotate(270deg);
        opacity: 0.5;
    }
}

.googa-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, 
        rgba(254, 203, 0, 0.2) 0%, 
        rgba(254, 203, 0, 0.1) 100%);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 
        0 4px 15px rgba(254, 203, 0, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(254, 203, 0, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.googa-ai-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    transition: left 0.5s ease;
}

.googa-ai-badge:hover::before {
    left: 100%;
}

.googa-ai-badge:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(254, 203, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.6);
    background: linear-gradient(135deg, 
        rgba(254, 203, 0, 0.3) 0%, 
        rgba(254, 203, 0, 0.15) 100%);
}

.googa-ai-badge span:not(.badge-pulse) {
    position: relative;
    z-index: 1;
}

.googa-ai-badge i {
    font-size: 1.1rem;
    animation: sparkle 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes sparkle {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        opacity: 1; 
    }
    25% { 
        transform: scale(1.15) rotate(90deg); 
        opacity: 0.9; 
    }
    50% { 
        transform: scale(1.2) rotate(180deg); 
        opacity: 0.8; 
    }
    75% { 
        transform: scale(1.15) rotate(270deg); 
        opacity: 0.9; 
    }
}

.badge-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: var(--secondary-color);
    opacity: 0;
    animation: pulse-badge 2s ease-in-out infinite;
    z-index: 0;
}

@keyframes pulse-badge {
    0% { 
        opacity: 0;
        transform: scale(1);
    }
    50% { 
        opacity: 0.3;
        transform: scale(1.1);
    }
    100% { 
        opacity: 0;
        transform: scale(1.2);
    }
}

.googa-ai-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    max-width: 720px;
    width: 100%;
}

.googa-ai-content h3 {
    font-size: 2.4rem;
    color: var(--primary-color);
    margin: 25px 0 18px;
    font-weight: 800;
    line-height: 1.3;
    position: relative;
    padding-bottom: 15px;
}

.googa-ai-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
    border-radius: 2px;
}

.googa-ai-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 30px;
    max-width: 100%;
}

/* AI Features List */
.ai-features {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 35px;
    width: 100%;
}

.ai-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    background: rgba(0, 104, 55, 0.05);
    border-radius: var(--radius-md);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 104, 55, 0.1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 104, 55, 0.05);
    max-width: 100%;
}

.ai-feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(254, 203, 0, 0.2), 
        transparent);
    transition: right 0.5s ease;
}

.ai-feature-item:hover::before {
    right: 100%;
}

.ai-feature-item:hover {
    background: linear-gradient(135deg, 
        rgba(0, 104, 55, 0.1) 0%, 
        rgba(0, 104, 55, 0.08) 100%);
    transform: translateX(-8px) translateY(-2px);
    border-color: rgba(0, 104, 55, 0.25);
    box-shadow: 
        0 4px 15px rgba(0, 104, 55, 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.ai-feature-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.ai-feature-item:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--primary-color);
}

.ai-feature-item span {
    position: relative;
    z-index: 1;
}

.googa-ai-actions {
    margin-top: auto;
}

.ai-cta-btn {
    position: relative;
    overflow: hidden;
    padding: 16px 35px;
    font-size: 1.15rem;
    gap: 12px;
    box-shadow: 
        0 8px 25px rgba(0, 104, 55, 0.25),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.ai-cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.25) 0%, 
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.ai-cta-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.ai-cta-btn:hover::before {
    opacity: 1;
}

.ai-cta-btn:hover::after {
    width: 300px;
    height: 300px;
}

.ai-cta-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 15px 40px rgba(0, 104, 55, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.3),
        0 0 0 2px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.ai-cta-btn i:first-child {
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.ai-cta-btn:hover i:first-child {
    transform: scale(1.2) rotate(-15deg);
}

.ai-cta-btn span {
    position: relative;
    z-index: 1;
}

.ai-cta-btn i:last-child {
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.ai-cta-btn:hover i:last-child {
    transform: translateX(-8px) scale(1.1);
}

.googa-ai-visual {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    margin-inline-start: auto;
}

.ai-icon-bubble {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bubble-glow {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(254, 203, 0, 0.4) 0%, 
        rgba(254, 203, 0, 0.2) 30%,
        rgba(0, 104, 55, 0.2) 50%,
        rgba(0, 104, 55, 0.1) 70%,
        transparent 100%);
    filter: blur(25px);
    animation: glow-pulse 3s ease-in-out infinite;
    z-index: 0;
    transition: all 0.4s ease;
}

.googa-ai-card:hover .bubble-glow {
    filter: blur(30px);
    inset: -30px;
    background: radial-gradient(circle, 
        rgba(254, 203, 0, 0.5) 0%, 
        rgba(254, 203, 0, 0.3) 30%,
        rgba(0, 104, 55, 0.3) 50%,
        rgba(0, 104, 55, 0.15) 70%,
        transparent 100%);
}

@keyframes glow-pulse {
    0%, 100% { 
        opacity: 0.6;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.15);
    }
}

.bubble-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(145deg, 
        var(--secondary-color) 0%, 
        #ffdb4d 30%,
        #fff9c4 50%,
        #ffdb4d 70%,
        var(--secondary-color) 100%);
    box-shadow: 
        0 20px 50px rgba(0, 104, 55, 0.25),
        inset 0 4px 15px rgba(255, 255, 255, 0.5),
        inset 0 -4px 15px rgba(0, 0, 0, 0.1),
        0 0 0 2px rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-hover);
    font-size: 4rem;
    transition: all 0.4s ease;
    animation: float-icon 6s ease-in-out infinite;
    overflow: hidden;
}

.bubble-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.4) 0%, 
        transparent 70%);
    animation: shine-rotate 8s linear infinite;
    pointer-events: none;
}

@keyframes shine-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes float-icon {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1); 
    }
    25% { 
        transform: translateY(-15px) rotate(5deg) scale(1.02); 
    }
    50% { 
        transform: translateY(-25px) rotate(0deg) scale(1.05); 
    }
    75% { 
        transform: translateY(-15px) rotate(-5deg) scale(1.02); 
    }
}

.googa-ai-card:hover .bubble-inner {
    transform: translateY(-10px) scale(1.08) rotate(5deg);
    box-shadow: 
        0 30px 70px rgba(0, 104, 55, 0.35),
        inset 0 4px 15px rgba(255, 255, 255, 0.6),
        inset 0 -4px 15px rgba(0, 0, 0, 0.15),
        0 0 0 3px rgba(255, 255, 255, 0.15);
    animation-duration: 4s;
}

.bubble-inner i {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: all 0.4s ease;
    animation: icon-bounce 3s ease-in-out infinite;
}

@keyframes icon-bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1.05); }
}

.googa-ai-card:hover .bubble-inner i {
    animation: icon-bounce 1.5s ease-in-out infinite;
    filter: drop-shadow(0 6px 12px rgba(0, 104, 55, 0.3));
}

.bubble-rings {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.bubble-rings .ring {
    position: absolute;
    inset: -30px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    animation: ring-expand 3s ease-in-out infinite;
    box-shadow: 0 0 10px currentColor;
}

.ring-1 {
    animation-delay: 0s;
    border-color: var(--primary-color);
    border-width: 2px;
}

.ring-2 {
    animation-delay: 1s;
    border-color: var(--secondary-color);
    border-width: 2px;
    inset: -35px;
}

.ring-3 {
    animation-delay: 2s;
    border-color: var(--primary-color);
    border-width: 1.5px;
    inset: -40px;
}

.googa-ai-card:hover .bubble-rings .ring {
    animation-duration: 2s;
    box-shadow: 0 0 15px currentColor;
}

@keyframes ring-expand {
    0% {
        opacity: 0.8;
        transform: scale(0.8);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
    100% {
        opacity: 0;
        transform: scale(1.8);
    }
}

.ai-image {
    max-width: 280px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 
        0 15px 40px rgba(0, 104, 55, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    transition: all 0.4s ease;
}

.googa-ai-card:hover .ai-image {
    transform: scale(1.05);
    box-shadow: 
        0 20px 50px rgba(0, 104, 55, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

.ai-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.googa-ai-card:hover .ai-image img {
    transform: scale(1.05);
}

/* Floating Action Button */
.googa-ai-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 
        0 8px 25px rgba(0, 104, 55, 0.4),
        0 0 0 0 rgba(0, 104, 55, 0.5);
    z-index: 1200;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: 3px solid rgba(255, 255, 255, 0.2);
    animation: fab-pulse 2s ease-in-out infinite;
}

@keyframes fab-pulse {
    0%, 100% {
        box-shadow: 
            0 8px 25px rgba(0, 104, 55, 0.4),
            0 0 0 0 rgba(0, 104, 55, 0.5);
    }
    50% {
        box-shadow: 
            0 8px 25px rgba(0, 104, 55, 0.4),
            0 0 0 10px rgba(0, 104, 55, 0);
    }
}

.googa-ai-fab:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
    transform: translateY(-6px) scale(1.1);
    box-shadow: 
        0 12px 35px rgba(0, 104, 55, 0.5),
        0 0 0 0 rgba(0, 104, 55, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
}

.googa-ai-fab:active {
    transform: translateY(-2px) scale(1.05);
}

/* Responsive Design */
@media (max-width: 992px) {
    .googa-ai-section {
        padding: 80px 0;
    }
    
    .googa-ai-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 50px 40px;
    }
    
    .googa-ai-visual {
        min-height: 250px;
        order: -1;
        margin-inline-start: 0;
    }
    
    .ai-icon-bubble {
        width: 150px;
        height: 150px;
    }
    
    .bubble-inner {
        font-size: 3.5rem;
    }
    
    .googa-ai-content {
        text-align: center;
    }
    
    .googa-ai-content h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .ai-features {
        justify-content: center;
    }
    
    .googa-ai-actions {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .googa-ai-section {
        padding: 60px 0;
    }
    
    .googa-ai-card {
        padding: 40px 30px;
        gap: 35px;
    }
    
    .googa-ai-content {
        align-items: center;
        text-align: center;
    }
    
    .ai-features {
        justify-content: center;
    }
    
    .ai-feature-item {
        width: 100%;
        justify-content: center;
    }
    
    .googa-ai-content h3 {
        font-size: 1.9rem;
    }
    
    .googa-ai-content p {
        font-size: 1rem;
    }
    
    .ai-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .ai-feature-item {
        width: 100%;
    }
    
    .ai-icon-bubble {
        width: 130px;
        height: 130px;
    }
    
    .bubble-inner {
        font-size: 3rem;
    }
    
    .googa-ai-fab {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .googa-ai-section {
        padding: 50px 0;
    }
    
    .googa-ai-card {
        padding: 30px 20px;
        gap: 30px;
    }
    
    .googa-ai-content h3 {
        font-size: 1.6rem;
        margin: 20px 0 15px;
        padding-bottom: 12px;
    }
    
    .googa-ai-content h3::after {
        width: 60px;
        height: 3px;
    }
    
    .googa-ai-content p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    .googa-ai-badge {
        padding: 10px 18px;
        font-size: 0.85rem;
        gap: 8px;
    }
    
    .googa-ai-badge i {
        font-size: 1rem;
    }
    
    .ai-features {
        gap: 12px;
        margin-bottom: 25px;
    }
    
    .ai-feature-item {
        padding: 12px 18px;
        font-size: 0.9rem;
        gap: 10px;
    }
    
    .ai-feature-item i {
        font-size: 1rem;
    }
    
    .ai-cta-btn {
        width: 100%;
        padding: 14px 30px;
        font-size: 1.05rem;
        gap: 10px;
    }
    
    .googa-ai-visual {
        min-height: 200px;
    }
    
    .ai-icon-bubble {
        width: 120px;
        height: 120px;
    }
    
    .bubble-inner {
        font-size: 2.5rem;
    }
    
    .bubble-glow {
        inset: -15px;
    }
    
    .googa-ai-fab {
        width: 56px;
        height: 56px;
        font-size: 1.4rem;
        bottom: 15px;
        right: 15px;
        border-width: 2px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-desc {
        font-size: 0.95rem;
    }
}

/* --- Memorial Section --- */
.memorial-section {
    background: url('../images/pattern-bg.png'), linear-gradient(135deg, #1a2a3a 0%, #2c3e50 100%);
    color: white;
}

.memorial-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: inline-block;
}

/* --- Partners --- */
.partners-slider {
    display: flex;
    overflow-x: auto;
    gap: 40px;
    padding: 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    align-items: center;
}

.partners-slider::-webkit-scrollbar {
    height: 8px;
}

.partners-slider::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.partners-slider::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.partner-logo {
    height: 80px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* --- Footer --- */
.main-footer {
    background-color: #1a1a1a;
    color: #e0e0e0;
    padding: 70px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '\f104'; /* FontAwesome chevron-left */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--secondary-color);
    transition: transform 0.3s;
}

.footer-links a:hover {
    color: white;
    padding-right: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #aaa;
}

.footer-contact i {
    color: var(--secondary-color);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}

/* --- Auth Pages (Login/Register) --- */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #004d29 100%);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 20%);
    opacity: 1;
    z-index: 0;
}

.auth-card {
    background: var(--bg-white);
    width: 100%;
    max-width: 450px;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.5s ease forwards;
    border: 1px solid rgba(255,255,255,0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo {
    height: 80px;
    width: auto;
    margin-bottom: 15px;
    display: inline-block;
}

.auth-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 800;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background-color: #fcfcfc;
}

.form-control:focus {
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(0, 104, 55, 0.1);
    outline: none;
}

.form-actions {
    margin-top: 30px;
}

.form-actions .btn {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
}

.form-link {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.form-link a {
    color: var(--primary-color);
    font-weight: 700;
}

.form-link a:hover {
    text-decoration: underline;
}

.alert {
    padding: 15px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-danger {
    background-color: #ffeaea;
    color: var(--danger-color);
    border: 1px solid #fadbd8;
}

.alert-success {
    background-color: #e8f8f5;
    color: var(--success-color);
    border: 1px solid #d1f2eb;
}

/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
    .header-actions {
        position: fixed;
        top: 93px; /* Header height */
        right: 0;
        left: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 990;
        border-top: 1px solid #eee;
    }
    
    .header-actions.active {
        transform: translateY(0);
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-slider {
        height: 500px;
    }
    
    .googa-ai-card {
        flex-direction: column;
        text-align: center;
    }
    
    .googa-ai-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .googa-ai-visual {
        width: 100%;
    }
    
    .slide-content h2 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .slide-content {
        padding: 30px;
        width: 90%;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .auth-card {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .header-text h1 {
        font-size: 1.2rem;
    }
    
    .university-logo {
        height: 45px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .googa-ai-card {
        padding: 30px;
    }
    
    .ai-icon-bubble {
        width: 100px;
        height: 100px;
        font-size: 2.2rem;
    }
    
    .googa-ai-fab {
        width: 58px;
        height: 58px;
        font-size: 1.4rem;
        bottom: 16px;
        right: 16px;
    }
    
    .slide-content h2 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 60px 0;
    }
}
