/* Basic Reset */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #fff;
    scroll-behavior: smooth; /* Smooth scrolling */
}

/* Navigation Bar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #111;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: orange;
}

nav .nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav .nav-links li {
    margin-left: 20px;
}

nav .nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

nav .nav-links a:hover {
    color: orange;
}

/* Active Link Style */
nav .nav-links a.active {
    color: orange;
    font-weight: bold;
}

/* Main Content */
.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px; /* To account for the fixed navbar */
}


/* Make ISC bold */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem; /* Adjust size if needed */
}

/* Ensure Navbar is Fully Responsive */
.navbar-nav .nav-item {
    text-align: center; /* Centers links on smaller screens */
}

.navbar-nav .nav-link {
    font-size: 1.1rem; /* Slightly larger text for better readability */
    padding: 10px 15px;
}

/* Add spacing on smaller screens */
@media (max-width: 991px) {
    .navbar-nav {
        background-color: rgba(0, 0, 0, 0.9); /* Optional: Adds a dark background */
        padding: 10px;
    }
    
    .navbar-nav .nav-item {
        display: block;
    }
}

/* Sections */
section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* 3D Text Animation for "Welcome to" */
h1 {
    font-size: 2.5rem; /* Smaller size for "Welcome to" */
    text-transform: uppercase;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

h1::before,
h1::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

h1::before {
    color: rgba(255, 0, 0, 0.5);
    animation: floatBefore 3s ease-in-out infinite;
}

h1::after {
    color: rgba(0, 0, 255, 0.5);
    animation: floatAfter 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px); /* Smaller float effect */
    }
}

@keyframes floatBefore {
    0%, 100% {
        transform: translate(-3px, -3px); /* Smaller shadow effect */
    }
    50% {
        transform: translate(3px, 3px);
    }
}

@keyframes floatAfter {
    0%, 100% {
        transform: translate(3px, 3px); /* Smaller shadow effect */
    }
    50% {
        transform: translate(-3px, -3px);
    }
}

/* Bigger and Bold Text for "IELTS SUPPORT CENTER" */
h2 {
    font-family: 'PT Serif', serif;
    font-size: 4rem; /* Bigger size */
    font-weight: bold; /* Bold text */
    color: orange; /* Orange color */
    margin-top: 10px; /* Adjusted spacing */
}

/* Paragraph style */
p {
    font-size: 1.2rem;
    margin-top: 20px;
}

/* Footer */
footer {
    background-color: #111;
    padding: 40px 20px; /* Added padding for better spacing */
    text-align: center;
    width: 100%;
    margin-top: auto; /* Ensures footer stays at the bottom */
}

.footer {
    font-size: 1rem;
    color: #888;
    line-height: 1.6; /* Improved line spacing */
}

.footer a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease; /* Smooth hover effect */
}

.footer a:hover {
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    h1 {
        font-size: 2rem; /* Smaller for mobile */
    }
    h2 {
        font-size: 2.5rem; /* Smaller for mobile */
    }
    p {
        font-size: 1rem;
    }
    .footer {
        font-size: 0.9rem; /* Smaller footer text for mobile */
    }
    nav .logo {
        font-size: 1.2rem;
    }
    nav .nav-links a {
        font-size: 0.9rem;
    }
}

/* Custom CSS for 3D Text Animation */
h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

h1::before,
h1::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

h1::before {
    color: rgba(255, 0, 0, 0.5);
    animation: floatBefore 3s ease-in-out infinite;
}

h1::after {
    color: rgba(0, 0, 255, 0.5);
    animation: floatAfter 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatBefore {
    0%, 100% {
        transform: translate(-3px, -3px);
    }
    50% {
        transform: translate(3px, 3px);
    }
}

@keyframes floatAfter {
    0%, 100% {
        transform: translate(3px, 3px);
    }
    50% {
        transform: translate(-3px, -3px);
    }
}

/* Custom styles for IELTS SUPPORT CENTER */
h2 {
    font-family: 'PT Serif', serif;
    font-size: 4rem;
    font-weight: bold;
    color: orange;
    margin-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 2.5rem;
    }
}


/* Custom CSS for Orange Text */


/* Custom CSS for About Section */
#about {
    background-color: #000 !important; /* Black background */
    color: orange !important; /* Orange text */
}


#about p,
#about ul,
#about li {
    color: rgb(255, 255, 255) !important; /* Ensure all text is orange */
    text-align: justify;
}

#about a, h2, h3 {
    color: orange !important; /* Orange links */
}

#about a:hover {
    color: #ff8c00 !important; /* Darker orange on hover */
}


/* Custom CSS for Target Section */
#target {
    background-color: #000 !important; /* Black background */
    color: orange !important; /* Orange text */

}

#target h3{
    color: rgb(255, 255, 255) !important; /* Ensure 
    all text is orange */
    text-align:center;
}

#target h2{
    color:#ff8c00;
}

#target p{
    text-align: justify;
    color:rgb(255, 255, 255);
}

#target .btn-orange {
    background-color: orange;
    color: #000;
    border: none;
    padding: 10px 20px;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

#target .btn-orange:hover {
    background-color: #ff8c00; /* Darker orange on hover */
    color: #000;
}

/* contact part Custom CSS for Black Background */
.bg-black {
    background-color: #000 !important; /* Black background */
}

#contact .border-orange {
    border-color: orange !important; /* Orange border */
}

#contact .rounded {
    border-radius: 10px !important; /* Rounded corners */
}

#contact .p-4 {
    padding: 1.5rem !important; /* Padding for grid items */
}

#contact .vr.border-orange {
    border-color: orange !important; /* Orange vertical line */
    border-width: 2px;
}

#contact .accordion-button {
    background-color: orange;
    color: #000;
}

#contact .accordion-button:not(.collapsed) {
    background-color: #ff8c00;
    color: #000;
}

#contact .accordion-body {
    background-color: #333;
    color: orange;
}

