/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.nav-logo {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
}

.nav-logo span {
    color: #007bff;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: #007bff;
}

.nav-btn {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.nav-btn:hover {
    background-color: #0056b3;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #333;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* High-quality technology background image */
    background-image:url(Photos/Specialization\ in\ Cyber\ Security\ background.gif);
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
    padding: 0 20px;
}

/* Dark overlay to make text highly readable */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 17, 40, 0.75); 
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-top: 60px; /* Offset for fixed navbar */
}

.hero-tagline {
    display: inline-block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background-color: #007bff;
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 35px;
    color: #e0e0e0;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn {
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #0a1128;
}

/* Responsive Menu for Mobile */
@media (max-width: 768px) {
    .hamburger { display: block; }
    .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); }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 69px;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        gap: 0;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active { left: 0; }
    .nav-link { display: block; padding: 15px; width: 100%; }
    .nav-btn { margin-top: 15px; display: inline-block; }
    
    .hero-title { font-size: 32px; }
    .hero-description { font-size: 16px; }
    .hero-buttons { flex-direction: column; gap: 10px; }
}
/* History Section Styling */
.history-section {
    padding: 100px 20px;
    background-color: #ffffff;
    overflow: hidden;
}

.history-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Text Container */
.history-text {
    flex: 1;
}

.section-tag {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #007bff;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 38px;
    color: #1a1a1a;
    font-weight: 800;
    margin-bottom: 25px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #007bff;
}

.history-paragraph {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.font-highlight {
    font-weight: 600;
    color: #007bff;
}

.btn-history {
    background-color: #1a1a1a;
    color: #fff;
    display: inline-block;
    margin-top: 10px;
}

.btn-history:hover {
    background-color: #007bff;
}

/* Image Container & Floating Effects */
.history-image-block {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.history-img {
    width: 100%;
    max-width: 500px;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

/* Hover effect on image */
.history-image-block:hover .history-img {
    transform: scale(1.03) translateY(-5px);
}

/* Decorative floating experience badge */
.image-overlay-card {
    position: absolute;
    bottom: -20px;
    left: 20px;
    background-color: #007bff;
    color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
    z-index: 10;
    animation: floatBadge 4s ease-in-out infinite;
}

.image-overlay-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 2px;
}

.image-overlay-card p {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Subtle Floating Keyframe Animation */
@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Entry Scroll Animations Classes */
.animate-left, .animate-right {
    opacity: 0;
    transition: all 1s ease-out;
}

.animate-left {
    transform: translateX(-50px);
}

.animate-right {
    transform: translateX(50px);
}

.reveal {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive design */
@media (max-width: 992px) {
    .history-container {
        flex-direction: column;
        gap: 40px;
    }
    .history-image-block {
        width: 100%;
        margin-bottom: 30px;
    }
    .image-overlay-card {
        left: 50%;
        transform: translateX(-50%);
        bottom: -30px;
        animation: none; /* Turn off floating on small screens to keep layout clean */
    }
    .section-title {
        font-size: 30px;
    }
}
/* Achievements Section Styling */
.achievements-section {
    padding: 80px 20px;
    background-color: #f4f7f6; /* Subtle contrast change from previous section */
}

.achievements-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* Stats Counter Grid Layout */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.stat-card {
    background-color: #ffffff;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

/* Add a plus indicator for ongoing metrics */
.stat-card:nth-child(2) .stat-number::after { content: '+'; color: #007bff; }
.stat-card:nth-child(3) .stat-number::after { content: '+'; color: #007bff; }

.stat-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Placement Panel Box Styling */
.placement-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a1128 100%);
    color: #ffffff;
    border-radius: 12px;
    padding: 40px;
    position: relative;
    box-shadow: 0 15px 35px rgba(10, 17, 40, 0.2);
    overflow: hidden;
}

.placement-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #28a745; /* Success Green */
    color: #fff;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 50px;
    letter-spacing: 1px;
}

.placement-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.placement-rate {
    text-align: center;
    border-right: 2px solid rgba(255, 255, 255, 0.1);
    padding-right: 50px;
}

.placement-rate h2 {
    font-size: 72px;
    font-weight: 800;
    color: #007bff;
    line-height: 1;
}

.placement-rate span {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #bbb;
    display: block;
    margin-top: 10px;
    white-space: nowrap;
}

.placement-text h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.placement-text p {
    font-size: 16px;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Industry Specific Badges */
.roles-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 500;
    transition: background-color 0.3s;
}

.tag:hover {
    background-color: #007bff;
    border-color: #007bff;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .placement-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    .placement-rate {
        border-right: none;
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
        padding-right: 0;
        padding-bottom: 20px;
        width: 100%;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Perspective container for 3D effect */
.director-container {
    perspective: 1000px;
}

/* Base state for the card before animating */
.director-card {
    transition: transform 0.1s ease, box-shadow 0.3s ease, opacity 0.8s ease-out;
    transform-style: preserve-3d;
    will-change: transform;
}

/* Zoom effect inside the photo container on card hover */
.director-card:hover .director-img {
    transform: scale(1.05);
}
.director-img {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Scroll Animation Initial States */
.animate-fade-up {
    opacity: 0;
    transform: translateY(40px);
}

.reveal-up {
    opacity: 1;
    transform: translateY(0);
}

/* Disable 3D tilt tracking on mobile devices for better performance */
@media (max-width: 850px) {
    .director-card {
        transform: none !important;
    }
}
/* Director Section Styling */
.director-section {
    padding: 100px 20px;
    background-color: #ffffff;
}

.director-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Master Profile Card Layout */
.director-card {
    display: flex;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 123, 255, 0.1);
}

/* Photo Side */
.director-photo-wrapper {
    flex: 2;
    position: relative;
    min-height: 380px;
}

.director-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Badge overlay over photo */
.badge-expert {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: #e3f2fd;
    color: #007bff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 16px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-left: 4px solid #007bff;
}

/* Content Text Side */
.director-info-content {
    flex: 3;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.quote-icon {
    font-size: 80px;
    color: rgba(0, 123, 255, 0.1);
    position: absolute;
    top: 10px;
    left: 30px;
    font-family: Georgia, serif;
    line-height: 1;
}

.director-quote {
    font-size: 17px;
    color: #444;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.director-meta {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.director-name {
    font-size: 22px;
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 4px;
}

.director-title {
    font-size: 14px;
    color: #007bff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

/* Authority Highlight Tag */
.director-credential {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f1f3f9;
    color: #2c3e50;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

.shield-icon {
    font-size: 16px;
}

/* Responsive Overrides */
@media (max-width: 850px) {
    .director-card {
        flex-direction: column;
    }
    .director-photo-wrapper {
        min-height: 320px;
    }
    .director-info-content {
        padding: 35px 25px;
    }
    .quote-icon {
        top: -10px;
        left: 15px;
    }
}
/* Footer Base Styling */
.site-footer {
    background-color: #0b1120; /* Deep Dark Blue/Grey */
    color: #b9c1d6;
    padding: 80px 20px 0 20px;
    font-size: 15px;
    border-top: 3px solid #007bff;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2.2fr 1fr 1.5fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-heading {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: #007bff;
}

/* Column 1 Specifics */
.footer-logo {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 15px;
}

.footer-logo span {
    color: #007bff;
}

.footer-msg {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #94a3b8;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    background-color: rgba(255, 255, 255, 0.05);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}

.footer-socials a:hover {
    background-color: #007bff;
    transform: translateY(-3px);
}

/* Navigation Menu Column */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b9c1d6;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

/* Contact Info Column */
.footer-contact-list, .footer-address-list {
    list-style: none;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact-list a {
    color: #b9c1d6;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact-list a:hover {
    color: #ffffff;
}

/* Addresses Column */
.footer-address-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-address-list strong {
    color: #ffffff;
    display: block;
    font-size: 14px;
}

.footer-address-list p {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 2px;
}

.contact-icon, .location-icon {
    color: #007bff;
    font-size: 16px;
}

/* Copyright Bar Area */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
    margin-top: 20px;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #64748b;
}

.design-credit {
    color: rgba(255, 255, 255, 0.2);
}

/* Responsive Grid Adaptations */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 550px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
