/* Global Styles */
:root {
    --primary-color: #ff4500;
    --secondary-color: #ff7849;
    --accent-color: #ff6b35;
    --text-color: #2d2d2d;
    --light-text: #f9fafb;
    --background: #ffffff;
    --light-bg: #fff9f5;
    --dark-bg: #2d1a12;
    --border-color: #ffded3;
    --shadow: 0 4px 15px rgba(255, 69, 0, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    color: var(--text-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

section {
    padding: 5rem 0;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

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

.primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
}

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

.secondary:hover {
    background-color: rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.highlight {
    color: var(--primary-color);
}

/* Header and Navigation */
.navbar {
    width: 100%;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #fff3e8 0%, #ffe8dc 100%);
    box-shadow: 0 2px 10px rgba(255, 69, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    transition: none;
    filter: drop-shadow(0 0 8px rgba(255, 69, 0, 0.3));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: #f85051;
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger Animation */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
}

/* Mobile Menu Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: left 0.3s ease;
    padding-top: 80px;
}

.mobile-nav-overlay.active {
    left: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 0 30px;
}

.mobile-nav-links .nav-link {
    color: white;
    text-decoration: none;
    padding: 20px 0;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active .mobile-nav-links .nav-link {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav-overlay.active .mobile-nav-links .nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-overlay.active .mobile-nav-links .nav-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav-overlay.active .mobile-nav-links .nav-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-nav-overlay.active .mobile-nav-links .nav-link:nth-child(4) { transition-delay: 0.4s; }
.mobile-nav-overlay.active .mobile-nav-links .nav-link:nth-child(5) { transition-delay: 0.5s; }
.mobile-nav-overlay.active .mobile-nav-links .nav-link:nth-child(6) { transition-delay: 0.6s; }

.mobile-nav-links .nav-link:hover {
    color: #f85051;
    padding-left: 10px;
}

/* Content overlay when menu is open */
.content-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.content-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Body scroll lock when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Additional Responsive Styles */
@media screen and (max-width: 1200px) {
    .container {
        width: 95%;
    }
}

@media screen and (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--background);
        flex-direction: column;
        padding: 2rem;
        transition: 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hamburger {
        display: block;
        cursor: pointer;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .btn:hover {
        transform: none;
    }
    
    .project-card:hover {
        transform: none;
    }
    
    .skill-category:hover {
        transform: none;
    }
}

/* Bible Verse Section - Enhanced */
.bible-verse {
    position: relative;
    text-align: center;
    padding: 3rem 0;
    margin-top: 90px;
    background: linear-gradient(135deg, #fff9f5 0%, #ffede3 50%, #fff3e8 100%);
    overflow: hidden;
    z-index: 2;
}

/* Animated background elements */
.bible-verse::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 69, 0, 0.05), transparent, rgba(255, 120, 73, 0.08), transparent);
    animation: rotate-bg 20s linear infinite;
    z-index: -2;
}

.bible-verse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 69, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 120, 73, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 107, 53, 0.06) 0%, transparent 50%);
    z-index: -1;
}

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

/* Verse container with glass effect */
.bible-verse .container {
    position: relative;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 
        0 15px 35px rgba(255, 69, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    transform: translateZ(0);
}

.bible-verse .container:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(255, 69, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Enhanced verse text styling */
.verse-text {
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.8;
    padding: 0 1rem;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out;
}

.verse-text::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: Georgia, serif;
    animation: quoteFloat 3s ease-in-out infinite alternate;
}

.verse-text::after {
    content: '"';
    position: absolute;
    bottom: -30px;
    right: -10px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: Georgia, serif;
    animation: quoteFloat 3s ease-in-out infinite alternate-reverse;
}

@keyframes quoteFloat {
    0% { transform: translateY(0px); opacity: 0.3; }
    100% { transform: translateY(-5px); opacity: 0.5; }
}

/* Enhanced verse source styling */
.verse-source {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.verse-source::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    animation: expandLine 1.5s ease-out 1s forwards;
}

@keyframes expandLine {
    0% { width: 0; }
    100% { width: 100%; }
}

/* Floating particles effect */
.bible-verse .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 69, 0, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255, 120, 73, 0.2) 1px, transparent 1px),
        radial-gradient(circle at 50% 10%, rgba(255, 107, 53, 0.25) 1px, transparent 1px),
        radial-gradient(circle at 20% 80%, rgba(255, 69, 0, 0.2) 1px, transparent 1px);
    background-size: 50px 50px, 60px 60px, 40px 40px, 70px 70px;
    border-radius: 25px;
    animation: floatingParticles 8s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes floatingParticles {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Shimmer effect on hover */
.bible-verse .container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    border-radius: 25px;
    transition: all 0.6s ease;
    pointer-events: none;
}

.bible-verse .container:hover::after {
    left: 100%;
}

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

/* Responsive adjustments for verse section */
@media screen and (max-width: 768px) {
    .bible-verse {
        padding: 2rem 0;
        margin-top: 80px;
    }
    
    .bible-verse .container {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .verse-text {
        font-size: 1.2rem;
        padding: 0 0.5rem;
    }
    
    .verse-text::before,
    .verse-text::after {
        font-size: 3rem;
    }
    
    .verse-source {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .bible-verse .container {
        padding: 1.5rem 1rem;
        border-radius: 20px;
    }
    
    .verse-text {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .verse-text::before,
    .verse-text::after {
        font-size: 2.5rem;
    }
    
    .verse-source {
        font-size: 0.95rem;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fff3e8 0%, #ffe8dc 100%);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    margin-top: -1px; /* To prevent any gaps */
}

.hero::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: linear-gradient(45deg, rgba(255, 69, 0, 0.05) 0%, rgba(255, 120, 73, 0.1) 100%);
    border-radius: 50%;
    top: -25%;
    left: -25%;
    animation: rotate 30s infinite linear;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.08) 0%, rgba(255, 69, 0, 0.05) 100%);
    border-radius: 40%;
    top: -10%;
    right: -10%;
    animation: rotate 25s infinite linear reverse;
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    text-align: left;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: text-shimmer 3s infinite;
}

@keyframes text-shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn.primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
    z-index: 1;
}

.btn.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    transition: 0.4s;
    z-index: -1;
}

.btn.primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 69, 0, 0.3);
}

.btn.primary:hover::before {
    width: 100%;
}

.btn.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn.secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--primary-color);
    transition: 0.4s;
    z-index: -1;
    opacity: 0.1;
}

.btn.secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 69, 0, 0.15);
}

.btn.secondary:hover::before {
    width: 100%;
}

.highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background-color: rgba(255, 69, 0, 0.2);
    z-index: -1;
    transform: skewX(-15deg);
}

/* Header and Navigation */
.navbar {
    width: 100%;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #fff3e8 0%, #ffe8dc 100%);
    box-shadow: 0 2px 10px rgba(255, 69, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    transition: none;
    filter: drop-shadow(0 0 8px rgba(255, 69, 0, 0.3));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: #f85051;
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger Animation */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
}

/* Mobile Menu Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: left 0.3s ease;
    padding-top: 80px;
}

.mobile-nav-overlay.active {
    left: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 0 30px;
}

.mobile-nav-links .nav-link {
    color: white;
    text-decoration: none;
    padding: 20px 0;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active .mobile-nav-links .nav-link {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav-overlay.active .mobile-nav-links .nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-overlay.active .mobile-nav-links .nav-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav-overlay.active .mobile-nav-links .nav-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-nav-overlay.active .mobile-nav-links .nav-link:nth-child(4) { transition-delay: 0.4s; }
.mobile-nav-overlay.active .mobile-nav-links .nav-link:nth-child(5) { transition-delay: 0.5s; }
.mobile-nav-overlay.active .mobile-nav-links .nav-link:nth-child(6) { transition-delay: 0.6s; }

.mobile-nav-links .nav-link:hover {
    color: #f85051;
    padding-left: 10px;
}

/* Content overlay when menu is open */
.content-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.content-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Body scroll lock when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Additional Responsive Styles */
@media screen and (max-width: 1200px) {
    .container {
        width: 95%;
    }
}

@media screen and (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--background);
        flex-direction: column;
        padding: 2rem;
        transition: 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hamburger {
        display: block;
        cursor: pointer;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .btn:hover {
        transform: none;
    }
    
    .project-card:hover {
        transform: none;
    }
    
    .skill-category:hover {
        transform: none;
    }
}

/* Bible Verse Section - Enhanced */
.bible-verse {
    position: relative;
    text-align: center;
    padding: 3rem 0;
    margin-top: 90px;
    background: linear-gradient(135deg, #fff9f5 0%, #ffede3 50%, #fff3e8 100%);
    overflow: hidden;
    z-index: 2;
}

/* Animated background elements */
.bible-verse::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 69, 0, 0.05), transparent, rgba(255, 120, 73, 0.08), transparent);
    animation: rotate-bg 20s linear infinite;
    z-index: -2;
}

.bible-verse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 69, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 120, 73, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 107, 53, 0.06) 0%, transparent 50%);
    z-index: -1;
}

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

/* Verse container with glass effect */
.bible-verse .container {
    position: relative;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 
        0 15px 35px rgba(255, 69, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    transform: translateZ(0);
}

.bible-verse .container:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(255, 69, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Enhanced verse text styling */
.verse-text {
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.8;
    padding: 0 1rem;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out;
}

.verse-text::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: Georgia, serif;
    animation: quoteFloat 3s ease-in-out infinite alternate;
}

.verse-text::after {
    content: '"';
    position: absolute;
    bottom: -30px;
    right: -10px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: Georgia, serif;
    animation: quoteFloat 3s ease-in-out infinite alternate-reverse;
}

@keyframes quoteFloat {
    0% { transform: translateY(0px); opacity: 0.3; }
    100% { transform: translateY(-5px); opacity: 0.5; }
}

/* Enhanced verse source styling */
.verse-source {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.verse-source::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    animation: expandLine 1.5s ease-out 1s forwards;
}

@keyframes expandLine {
    0% { width: 0; }
    100% { width: 100%; }
}

/* Floating particles effect */
.bible-verse .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 69, 0, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255, 120, 73, 0.2) 1px, transparent 1px),
        radial-gradient(circle at 50% 10%, rgba(255, 107, 53, 0.25) 1px, transparent 1px),
        radial-gradient(circle at 20% 80%, rgba(255, 69, 0, 0.2) 1px, transparent 1px);
    background-size: 50px 50px, 60px 60px, 40px 40px, 70px 70px;
    border-radius: 25px;
    animation: floatingParticles 8s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes floatingParticles {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Shimmer effect on hover */
.bible-verse .container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    border-radius: 25px;
    transition: all 0.6s ease;
    pointer-events: none;
}

.bible-verse .container:hover::after {
    left: 100%;
}

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

/* Responsive adjustments for verse section */
@media screen and (max-width: 768px) {
    .bible-verse {
        padding: 2rem 0;
        margin-top: 80px;
    }
    
    .bible-verse .container {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .verse-text {
        font-size: 1.2rem;
        padding: 0 0.5rem;
    }
    
    .verse-text::before,
    .verse-text::after {
        font-size: 3rem;
    }
    
    .verse-source {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .bible-verse .container {
        padding: 1.5rem 1rem;
        border-radius: 20px;
    }
    
    .verse-text {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .verse-text::before,
    .verse-text::after {
        font-size: 2.5rem;
    }
    
    .verse-source {
        font-size: 0.95rem;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fff3e8 0%, #ffe8dc 100%);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    margin-top: -1px; /* To prevent any gaps */
}

.hero::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: linear-gradient(45deg, rgba(255, 69, 0, 0.05) 0%, rgba(255, 120, 73, 0.1) 100%);
    border-radius: 50%;
    top: -25%;
    left: -25%;
    animation: rotate 30s infinite linear;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.08) 0%, rgba(255, 69, 0, 0.05) 100%);
    border-radius: 40%;
    top: -10%;
    right: -10%;
    animation: rotate 25s infinite linear reverse;
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    text-align: left;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: text-shimmer 3s infinite;
}

@keyframes text-shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn.primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
    z-index: 1;
}

.btn.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    transition: 0.4s;
    z-index: -1;
}

.btn.primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 69, 0, 0.3);
}

.btn.primary:hover::before {
    width: 100%;
}

.btn.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn.secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--primary-color);
    transition: 0.4s;
    z-index: -1;
    opacity: 0.1;
}

.btn.secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 69, 0, 0.15);
}

.btn.secondary:hover::before {
    width: 100%;
}

.highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background-color: rgba(255, 69, 0, 0.2);
    z-index: -1;
    transform: skewX(-15deg);
}

/* Header and Navigation */
.navbar {
    width: 100%;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #fff3e8 0%, #ffe8dc 100%);
    box-shadow: 0 2px 10px rgba(255, 69, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    transition: none;
    filter: drop-shadow(0 0 8px rgba(255, 69, 0, 0.3));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: #f85051;
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger Animation */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
}

/* Mobile Menu Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: left 0.3s ease;
    padding-top: 80px;
}

.mobile-nav-overlay.active {
    left: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 0 30px;
}

.mobile-nav-links .nav-link {
    color: white;
    text-decoration: none;
    padding: 20px 0;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active .mobile-nav-links .nav-link {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav-overlay.active .mobile-nav-links .nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-overlay.active .mobile-nav-links .nav-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav-overlay.active .mobile-nav-links .nav-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-nav-overlay.active .mobile-nav-links .nav-link:nth-child(4) { transition-delay: 0.4s; }
.mobile-nav-overlay.active .mobile-nav-links .nav-link:nth-child(5) { transition-delay: 0.5s; }
.mobile-nav-overlay.active .mobile-nav-links .nav-link:nth-child(6) { transition-delay: 0.6s; }

.mobile-nav-links .nav-link:hover {
    color: #f85051;
    padding-left: 10px;
}

/* Content overlay when menu is open */
.content-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgb(226, 135, 0);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.content-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Body scroll lock when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Additional Responsive Styles */
@media screen and (max-width: 1200px) {
    .container {
        width: 95%;
    }
}

@media screen and (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--background);
        flex-direction: column;
        padding: 2rem;
        transition: 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hamburger {
        display: block;
        cursor: pointer;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .btn:hover {
        transform: none;
    }
    
    .project-card:hover {
        transform: none;
    }
    
    .skill-category:hover {
        transform: none;
    }
}

/* Bible Verse Section - Enhanced */
.bible-verse {
    position: relative;
    text-align: center;
    padding: 3rem 0;
    margin-top: 90px;
    background: linear-gradient(135deg, #fff9f5 0%, #ffede3 50%, #fff3e8 100%);
    overflow: hidden;
    z-index: 2;
}

/* Animated background elements */
.bible-verse::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 69, 0, 0.05), transparent, rgba(255, 120, 73, 0.08), transparent);
    animation: rotate-bg 20s linear infinite;
    z-index: -2;
}

.bible-verse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 69, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 120, 73, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 107, 53, 0.06) 0%, transparent 50%);
    z-index: -1;
}

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

/* Verse container with glass effect */
.bible-verse .container {
    position: relative;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 
        0 15px 35px rgba(255, 69, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    transform: translateZ(0);
}

.bible-verse .container:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(255, 69, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Enhanced verse text styling */
.verse-text {
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.8;
    padding: 0 1rem;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out;
}

.verse-text::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: Georgia, serif;
    animation: quoteFloat 3s ease-in-out infinite alternate;
}

.verse-text::after {
    content: '"';
    position: absolute;
    bottom: -30px;
    right: -10px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: Georgia, serif;
    animation: quoteFloat 3s ease-in-out infinite alternate-reverse;
}

@keyframes quoteFloat {
    0% { transform: translateY(0px); opacity: 0.3; }
    100% { transform: translateY(-5px); opacity: 0.5; }
}

/* Enhanced verse source styling */
.verse-source {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.verse-source::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    animation: expandLine 1.5s ease-out 1s forwards;
}

@keyframes expandLine {
    0% { width: 0; }
    100% { width: 100%; }
}

/* Floating particles effect */
.bible-verse .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 69, 0, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255, 120, 73, 0.2) 1px, transparent 1px),
        radial-gradient(circle at 50% 10%, rgba(255, 107, 53, 0.25) 1px, transparent 1px),
        radial-gradient(circle at 20% 80%, rgba(255, 69, 0, 0.2) 1px, transparent 1px);
    background-size: 50px 50px, 60px 60px, 40px 40px, 70px 70px;
    border-radius: 25px;
    animation: floatingParticles 8s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes floatingParticles {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Shimmer effect on hover */
.bible-verse .container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    border-radius: 25px;
    transition: all 0.6s ease;
    pointer-events: none;
}

.bible-verse .container:hover::after {
    left: 100%;
}

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

/* Responsive adjustments for verse section */
@media screen and (max-width: 768px) {
    .bible-verse {
        padding: 2rem 0;
        margin-top: 80px;
    }
    
    .bible-verse .container {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .verse-text {
        font-size: 1.2rem;
        padding: 0 0.5rem;
    }
    
    .verse-text::before,
    .verse-text::after {
        font-size: 3rem;
    }
    
    .verse-source {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .bible-verse .container {
        padding: 1.5rem 1rem;
        border-radius: 20px;
    }
    
    .verse-text {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .verse-text::before,
    .verse-text::after {
        font-size: 2.5rem;
    }
    
    .verse-source {
        font-size: 0.95rem;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fff3e8 0%, #ffe8dc 100%);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    margin-top: -1px; /* To prevent any gaps */
}

.hero::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: linear-gradient(45deg, rgba(255, 69, 0, 0.05) 0%, rgba(255, 120, 73, 0.1) 100%);
    border-radius: 50%;
    top: -25%;
    left: -25%;
    animation: rotate 30s infinite linear;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.08) 0%, rgba(255, 69, 0, 0.05) 100%);
    border-radius: 40%;
    top: -10%;
    right: -10%;
    animation: rotate 25s infinite linear reverse;
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    text-align: left;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: text-shimmer 3s infinite;
}

@keyframes text-shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn.primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
    z-index: 1;
}

.btn.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    transition: 0.4s;
    z-index: -1;
}

.btn.primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 69, 0, 0.3);
}

.btn.primary:hover::before {
    width: 100%;
}

.btn.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn.secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--primary-color);
    transition: 0.4s;
    z-index: -1;
    opacity: 0.1;
}

.btn.secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 69, 0, 0.15);
}

.btn.secondary:hover::before {
    width: 100%;
}

.highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background-color: rgba(255, 69, 0, 0.2);
    z-index: -1;
    transform: skewX(-15deg);
}

/* Header and Navigation */
.navbar {
    width: 100%;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #fff3e8 0%, #ffe8dc 100%);
    box-shadow: 0 2px 10px rgba(255, 69, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    transition: none;
    filter: drop-shadow(0 0 8px rgba(255, 69, 0, 0.3));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: #f85051;
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger Animation */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
}

/* Mobile Menu Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: rgb(233, 104, 44);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: left 0.3s ease;
    padding-top: 80px;
}

.mobile-nav-overlay.active {
    left: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 0 30px;
}

.mobile-nav-links .nav-link {
    color: white;
    text-decoration: none;
    padding: 20px 0;
    font-size: 1.2rem;
    border-bottom: 1px solid rgb(255, 255, 255);
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active .mobile-nav-links .nav-link {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav-overlay.active .mobile-nav-links .nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-overlay.active .mobile-nav-links .nav-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav-overlay.active .mobile-nav-links .nav-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-nav-overlay.active .mobile-nav-links .nav-link:nth-child(4) { transition-delay: 0.4s; }
.mobile-nav-overlay.active .mobile-nav-links .nav-link:nth-child(5) { transition-delay: 0.5s; }
.mobile-nav-overlay.active .mobile-nav-links .nav-link:nth-child(6) { transition-delay: 0.6s; }

.mobile-nav-links .nav-link:hover {
    color: #000000;
    padding-left: 10px;
}

/* Content overlay when menu is open */
.content-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.content-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Body scroll lock when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Additional Responsive Styles */
@media screen and (max-width: 1200px) {
    .container {
        width: 95%;
    }
}

@media screen and (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--background);
        flex-direction: column;
        padding: 2rem;
        transition: 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hamburger {
        display: block;
        cursor: pointer;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .btn:hover {
        transform: none;
    }
    
    .project-card:hover {
        transform: none;
    }
    
    .skill-category:hover {
        transform: none;
    }
}

/* Bible Verse Section */
.bible-verse {
    text-align: center;
    padding: 1.5rem 0;
    background: linear-gradient(135deg, #fff3e8 0%, #ffe8dc 100%);
    border-bottom: 1px solid rgba(255, 69, 0, 0.1);
    position: relative;
    z-index: 2;
    margin-top: 100px; /* Adjust this value based on your navbar height */
}

.verse-text {
    font-size: 1.2rem;
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 0.5rem;
    line-height: 1.6;
    padding: 0 1rem;
}

.verse-source {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 500;
}

/* Adjust hero section to accommodate the verse */
.hero {
    margin-top: -1px; /* To prevent any gaps */
}

/* Skills Section */
.skills {
    background-color: var(--light-bg);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Update colors to match hero section gradient */
.skills::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #fff3e8 0%, #ffe8dc 100%);
    z-index: -1;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.skill-category {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 69, 0, 0.2);
}

.skill-category h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-category h3 i {
    font-size: 1.8rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: linear-gradient(135deg, #fff3e8 0%, #ffe8dc 100%);
    transform: translateX(5px);
}

.skill-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.skill-item span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    .skill-category {
        padding: 1.5rem;
    }
}

/* About Section */
.about {
    background-color: var(--light-bg);
}

.about-content {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.about-text {
    max-width: 800px;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 69, 0, 0.8), rgba(255, 120, 73, 0.8));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 69, 0, 0.2);
}

.project-card:hover::after {
    opacity: 0.05;
}

.project-card:hover .project-image::before {
    opacity: 1;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.project-image::before {
    content: 'View Project';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 69, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-info {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
}

.project-info p {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tags span {
    background-color: var(--light-bg);
    color: var(--accent-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s;
}

.project-tags span:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Contact Section */
.contact {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    opacity: 0.1;
    top: 10%;
    left: 5%;
    border-radius: 50%;
}

.contact::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.1;
    bottom: 10%;
    right: 5%;
    border-radius: 50%;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    top: 0;
    left: -100%;
    transition: 0.5s;
}

.social-links a:hover {
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 8px 15px rgba(255, 69, 0, 0.3);
}

.social-links a:hover::before {
    left: 0;
}

.social-links a i {
    position: relative;
    z-index: 1;
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: all 0.5s;
}

.contact-form:hover {
    transform: rotateX(5deg) rotateY(-5deg);
    box-shadow: 0 20px 40px rgba(255, 69, 0, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: var(--light-bg);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.2);
    background-color: white;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -12px;
    left: 10px;
    font-size: 0.8rem;
    background-color: white;
    padding: 0 5px;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    animation: gradient-flow 5s linear infinite;
}

@keyframes gradient-flow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Media Queries */
@media (max-width: 960px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        position: absolute;
        right: 0;
        top: 70px;
        background-color: rgba(255, 255, 255, 0.95);
        height: 0;
        overflow: hidden;
        flex-direction: column;
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }
    
    .nav-links.active {
        height: auto;
        padding: 1rem 0;
    }
    
    .burger {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
}

/* Scroll animation - Fix visibility issue */
.skill-category, .project-card {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.reveal-animation {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Ensure sections are visible regardless of animation state */
#skills, #projects {
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 300px;
}

/* Force display of skills and projects containers */
.skills-container, .projects-grid {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Enhanced Name Animation */
.glowing-text {
    animation: glow 2s ease-in-out infinite alternate;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 10px rgba(255, 69, 0, 0.5), 0 0 20px rgba(255, 69, 0, 0.3), 0 0 30px rgba(255, 69, 0, 0.1);
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px rgba(255, 69, 0, 0.5), 0 0 10px rgba(255, 69, 0, 0.3), 0 0 15px rgba(255, 69, 0, 0.1);
    }
    to {
        text-shadow: 0 0 10px rgba(255, 69, 0, 0.7), 0 0 20px rgba(255, 69, 0, 0.5), 0 0 30px rgba(255, 69, 0, 0.3), 0 0 40px rgba(255, 69, 0, 0.1);
    }
}

.animated-highlight {
    position: relative;
    overflow: hidden;
}

.animated-highlight::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 69, 0, 0.2), transparent);
    transform: translateX(-100%);
    animation: slide 3s infinite;
    z-index: -1;
}

@keyframes slide {
    0% {
        transform: translateX(-100%);
    }
    50%, 100% {
        transform: translateX(100%);
    }
}

/* QR Code Styling */
.qr-code-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1.5rem 0;
}

.qr-code {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    border: 3px solid var(--primary-color);
    padding: 5px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.2);
    transition: all 0.3s;
}

.qr-code:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 69, 0, 0.3);
}

.qr-label {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* Enhanced hover effects for buttons */
.btn.primary:hover {
    animation: pulse 1s infinite;
    transform: translateY(-5px);
}

@keyframes pulse {
    0% {
        box-shadow: 0 5px 15px rgba(255, 69, 0, 0.4);
    }
    50% {
        box-shadow: 0 5px 30px rgba(255, 69, 0, 0.6);
    }
    100% {
        box-shadow: 0 5px 15px rgba(255, 69, 0, 0.4);
    }
}

/* Additional 3D rotate animation for skill cards */
.skill-category:hover {
    animation: tilt 0.5s ease;
}

@keyframes tilt {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }
    25% {
        transform: rotateX(3deg) rotateY(-3deg);
    }
    50% {
        transform: rotateX(0deg) rotateY(0deg);
    }
    75% {
        transform: rotateX(-3deg) rotateY(3deg);
    }
    100% {
        transform: rotateX(0deg) rotateY(0deg);
    }
}

/* Education Section Styling */
.education-section {
    margin: 2rem 0;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.education-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.education-section h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: bold;
    position: relative;
    display: inline-block;
}

.education-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.education-section h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.education-card {
    display: flex;
    gap: 1.5rem;
    position: relative;
}

.education-logo {
    min-width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.3);
}

.university-initial {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
}

.education-details {
    flex: 1;
}

.education-details h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.education-details h5 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.education-mentors {
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.mentor-name {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.mentor-name::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    opacity: 0.5;
}

.education-desc {
    color: var(--secondary-color);
    line-height: 1.6;
}

/* Experience Timeline Section */
.experience {
    background-color: var(--light-bg);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.experience::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.05;
    top: 10%;
    right: -100px;
    border-radius: 50%;
}

.experience::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    opacity: 0.05;
    bottom: 10%;
    left: -50px;
    border-radius: 50%;
}

.experience-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    left: 50%;
    transform: translateX(-50%);
    top: 0;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 100%;
    display: flex;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-dot {
    position: absolute;
    width: 25px;
    height: 25px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(255, 69, 0, 0.2);
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 69, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 69, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 69, 0, 0);
    }
}

.timeline-content {
    width: 45%;
    padding: 1.5rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(255, 69, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 69, 0, 0.2);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tags span {
    background-color: var(--light-bg);
    color: var(--accent-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s;
}

.tech-tags span:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .experience-timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
    }
}

/* Make sections visible */
.experience {
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

/* University Showcase Section */
.university {
    background: linear-gradient(135deg, #fff9f5 0%, #ffede3 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.university::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 69, 0, 0.1) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    z-index: 0;
}

.university::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 120, 73, 0.1) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
    border-radius: 50%;
    z-index: 0;
}

.university-showcase {
    position: relative;
    z-index: 1;
    background-color: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.1);
    overflow: hidden;
}

.university-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    gap: 2rem;
}

.university-logo {
    min-width: 100px;
    height: 100px;
}

.logo-wrapper {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.3);
    animation: pulse-logo 2s infinite alternate;
}

@keyframes pulse-logo {
    0% {
        box-shadow: 0 5px 15px rgba(255, 69, 0, 0.3);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 10px 25px rgba(255, 69, 0, 0.5);
        transform: scale(1.05);
    }
}

.logo-wrapper span {
    color: white;
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.university-title h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: bold;
    position: relative;
    display: inline-block;
}

.university-title h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.university-title p {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.university-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.highlight-card {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(255, 69, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 69, 0, 0.2);
}

.card-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: float-icon 3s ease-in-out infinite;
}

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

.highlight-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.highlight-card p {
    color: var(--secondary-color);
    line-height: 1.6;
}

.university-features {
    background-color: var(--light-bg);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.feature-tabs {
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 69, 0, 0.1);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.tab {
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.tab i {
    font-size: 1.1rem;
}

.tab.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.3);
}

.tab:not(.active):hover {
    background-color: rgba(255, 69, 0, 0.1);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated-quote {
    position: relative;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.1);
}

.quote-icon {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 5px 10px rgba(255, 69, 0, 0.2);
    animation: rotate-icon 10s linear infinite;
}

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

blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    position: relative;
}

.quote-source {
    text-align: right;
    color: var(--secondary-color);
    font-weight: 500;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.facility-item {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.1);
    transition: all 0.3s;
}

.facility-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 69, 0, 0.2);
}

.facility-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.facility-item span {
    font-size: 0.9rem;
    text-align: center;
    font-weight: 500;
}

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

.achievement-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.achievement-item {
    position: relative;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed rgba(255, 69, 0, 0.1);
}

.achievement-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.achievement-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 0;
    width: 15px;
    height: 15px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.2);
}

.achievement-date {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.achievement-content h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.achievement-content p {
    color: var(--secondary-color);
}

.university-cta {
    text-align: center;
}

.university-btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s;
    transform: scale(1);
}

.university-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.3);
}

.university-btn i {
    transition: all 0.3s;
}

.university-btn:hover i {
    transform: translateX(5px);
}

/* Make section visible */
.university {
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

@media (max-width: 768px) {
    .university-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .university-title h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .feature-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* University Section Enhancements */
.facility-intro {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--secondary-color);
    line-height: 1.6;
}

.special-facility {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.1);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.special-facility:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 69, 0, 0.2);
}

.special-facility h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.special-facility h4 i {
    color: var(--accent-color);
    animation: pulse-star 2s infinite alternate;
}

@keyframes pulse-star {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.special-facility p {
    color: var(--secondary-color);
    line-height: 1.6;
}

.achievement-intro {
    margin-bottom: 1.5rem;
}

.achievement-intro p {
    font-size: 1.1rem;
    color: var(--secondary-color);
    line-height: 1.6;
}

.student-achievements {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.1);
}

.student-achievements h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.student-achievements h4 i {
    color: gold;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.7;
    }
}

.student-achievements ul {
    list-style: none;
    padding: 0;
}

.student-achievements li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
    line-height: 1.6;
}

.student-achievements li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--primary-color);
}

.achievement-highlight {
    color: var(--primary-color);
    font-weight: 600;
}

/* Ensure tab functionality works */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab {
    cursor: pointer;
}

/* Enhanced tab hover effect */
.tab:not(.active):hover {
    background: linear-gradient(45deg, rgba(255, 69, 0, 0.1), rgba(255, 120, 73, 0.1));
    transform: translateY(-2px);
}

/* Active tab indicator */
.tab.active {
    position: relative;
    overflow: hidden;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    animation: gradient-flow 2s linear infinite;
}

/* Map Container Styles */
.map-container {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.1);
    margin: 1.5rem 0;
    transition: all 0.3s ease;
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 69, 0, 0.2);
}

.map-container iframe {
    display: block;
    width: 100%;
    border-radius: 10px;
}

/* Hero Text and Photo Section */
.hero-text-photo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    width: 100%;
    margin-top: -200px;
}

.hero-text {
    flex: 1;
}

.profile-photo-container {
    flex: 0 0 300px;
    perspective: 1000px;
    margin-top: 2rem;
    margin-right: -350px;

}

.profile-photo-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    transform-style: preserve-3d;
    /* animation: float 6s ease-in-out infinite; */
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(255, 69, 0, 0.25);
    transform: translateZ(0);
    transition: all 0.3s ease;
}

.profile-photo-wrapper::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 25px;
    transform: translateZ(-10px);
    filter: blur(15px);
    opacity: 0.5;
    animation: glowPulse 1s ease-in-out infinite alternate;
}

.photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0) 50%,
        rgba(255, 69, 0, 0.1) 100%
    );
    border-radius: 20px;
    transform: translateZ(1px);
}

@keyframes float {
    0%, 100% {
        transform: rotateX(5deg) rotateY(-5deg) translateZ(0);
    }
    50% {
        transform: rotateX(-5deg) rotateY(5deg) translateZ(20px);
    }
}

@keyframes glowPulse {
    0% {
        opacity: 0.3;
        filter: blur(15px);
    }
    100% {
        opacity: 0.6;
        filter: blur(20px);
    }
}

/* Hover effects */
.profile-photo-wrapper:hover {
    transform: translateZ(30px) scale(1.05);
}

.profile-photo-wrapper:hover .photo-overlay {
    background: linear-gradient(
        135deg,
        rgba(255, 69, 0, 0.2) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 69, 0, 0.2) 100%
    );
}

/* Responsive adjustments */
@media screen and (max-width: 992px) {
    .hero-text-photo {
        flex-direction: column;
        text-align: center;
    }

    .profile-photo-container {
        flex: 0 0 250px;
        margin-right: 0px;
    }
    .hero-text-photo {
        flex-direction: column;
        text-align: center;
        margin-right: auto;
        margin-top: auto;
    }

    .profile-photo-wrapper {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 480px) {
    .profile-photo-container {
        flex: 0 0 200px;
        margin-right: 0px;
    }
    .hero-text-photo {
        flex-direction: column;
        text-align: center;
        margin-right: auto;
    }
    .profile-photo-wrapper {
        width: 200px;
        height: 200px;
    }
}