/* Custom CSS for Illuminate School Of Technology International */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #020617;
    overflow-x: hidden;
}

/* Glass Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-effect-2 {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, #ff9500 0%, #ffb347 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom Shadow */
.custom-shadow {
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* navbar drop down */
.dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item:hover {
    background: rgba(59, 130, 246, 0.1);
}


/* Hero Background */
.hero-bg {
    background: linear-gradient(135deg, #020617 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 149, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 40px rgba(255, 149, 0, 0.1);
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #ff9500 0%, #ea580c 100%);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 149, 0, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Section Divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 149, 0, 0.3) 50%, transparent 100%);
    margin: 80px auto;
    max-width: 200px;
}

/* Animations */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes slideUp {
    0% { 
        transform: translateY(20px); 
        opacity: 0; 
    }
    100% { 
        transform: translateY(0); 
        opacity: 1; 
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes glow {
    0% { box-shadow: 0 0 20px rgba(255, 149, 0, 0.3); }
    100% { box-shadow: 0 0 40px rgba(255, 149, 0, 0.6); }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite alternate;
}

.animate-pulse-slow {
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Float delays for staggered animations */
.float-delay-1 {
    animation-delay: 1s;
}

.float-delay-2 {
    animation-delay: 2s;
}

.float-delay-3 {
    animation-delay: 3s;
}

/* Scroll animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Portfolio filter styles */
.portfolio-filter.active {
    background: linear-gradient(135deg, #ff9500 0%, #ea580c 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 149, 0, 0.3);
}

.portfolio-item {
    transition: all 0.3s ease;
}

.portfolio-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

/* Testimonial carousel */
.testimonial-carousel {
    position: relative;
}

.testimonial-slide {
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.testimonial-slide.prev {
    transform: translateX(-100%);
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

#mobile-menu.show {
    max-height: 400px;
    opacity: 1;
}

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Contact form styles */
.form-input:focus {
    outline: none;
    border-color: #ff9500;
    box-shadow: 0 0 0 3px rgba(255, 149, 0, 0.1);
}

.form-select:focus {
    outline: none;
    border-color: #ff9500;
    box-shadow: 0 0 0 3px rgba(255, 149, 0, 0.1);
}

.form-textarea:focus {
    outline: none;
    border-color: #ff9500;
    box-shadow: 0 0 0 3px rgba(255, 149, 0, 0.1);
}

/* Success message animation */
.success-message {
    animation: slideUp 0.5s ease-out;
}

/* Loading spinner */
.spinner {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 2px solid #ff9500;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive utilities */
@media (max-width: 768px) {
 
    .text-4xl {
        font-size: 2rem;
    }
    
    .text-5xl {
        font-size: 2.5rem;
    }
    
    .text-7xl {
        font-size: 3rem;
    }
}

/* Smooth scrolling offset for fixed navbar */
section {
    scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: #ff9500;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ea580c;
}


/* hero pages for  */

 @keyframes grid-move {
0% {
    transform: translate(0, 0);
}

100% {
    transform: translate(50px, 50px);
}
}

@keyframes grid-pulse {

0%,
100% {
    opacity: 0.1;
}

50% {
    opacity: 0.3;
}
}

@keyframes grid-float {

0%,
100% {
    transform: translateY(0) scale(1);
    opacity: 0.6;
}

50% {
    transform: translateY(-10px) scale(1.1);
    opacity: 1;
}
}

.animate-grid-move {
animation: grid-move 20s linear infinite;
}

.animate-grid-pulse {
animation: grid-pulse 4s ease-in-out infinite;
}

.animate-grid-float {
animation: grid-float 3s ease-in-out infinite;
}

.animate-grid-float-delay {
animation: grid-float 3s ease-in-out infinite;
animation-delay: 1s;
}

.animate-grid-float-slow {
animation: grid-float 4s ease-in-out infinite;
animation-delay: 2s;
}