/* style.css */
:root {
    --primary-color: #0066cc;
    --primary-dark: #004499;
    --secondary-color: #00a8e8;
    --accent-color: #00c9a7;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #eaeaea;
    --shadow: 0 5px 15px rgba(0,0,0,0.05);
    --shadow-hover: 0 10px 25px rgba(0,0,0,0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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


/* Logo Styles */
.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .logo-img {
        height: 30px;
    }
    
    .logo h1 {
        font-size: 1.1rem;
    }
}


a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

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

/* Header Styles */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.nav ul {
    display: flex;
}

.nav ul li {
    margin-left: 25px;
}

.nav ul li a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    padding: 5px 0;
}

.nav ul li a:hover, .nav ul li a.active {
    color: var(--primary-color);
}

.nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    justify-content: space-between;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
            background: linear-gradient(135deg, #0066cc, #004499);
            color: white;
            padding: 80px 0;
            text-align: center;
        }
        
        .hero h2 {
            font-size: 2.5rem;
            margin-bottom: 20px;
        }
        
        .hero p {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto;
        }

.visual-element {
    width: 400px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.visual-element::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 15s linear infinite;
}

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

/* Main Content */
.main {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-header p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.intro-section {
    margin-bottom: 80px;
}

.intro-content {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.intro-content p {
    margin-bottom: 20px;
}

.intro-content p:last-child {
    margin-bottom: 0;
}

.divisions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.division-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.division-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.division-icon {         
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.division-icon svg {
    width: 30px;
    height: 30px;
    color: var(--primary-color);
}

.division-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.division-card p {
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Stats Section */
.stats-section {
    background-color: var(--bg-white);
    padding: 60px 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: #222;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    margin-bottom: 15px;
    color: white;
}

.footer-info p {
    margin-bottom: 10px;
    color: #ccc;
}

.footer-info a {
    color: #ccc;
}

.footer-info a:hover {
    color: white;
}

.footer-links h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
}

.footer-links ul li a:hover {
    color: white;
}

.footer-social h4 {
    margin-bottom: 20px;
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #aaa;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .visual-element {
        width: 300px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav {
        width: 100%;
        margin-top: 15px;
        display: none;
    }
    
    .nav.active {
        display: block;
    }
    
    .nav ul {
        flex-direction: column;
    }
    
    .nav ul li {
        margin: 10px 0;
    }
    
    .mobile-menu-btn {
        display: flex;
        position: absolute;
        top: 20px;
        right: 15px;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .intro-content, .division-card {
        padding: 25px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .divisions {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}


/* Blog Section Styles */
.blog-section {
    background-color: var(--bg-white);
    padding: 60px 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.blog-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.blog-carousel {
    width: 100%;
    overflow: hidden;
}

.blog-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
    padding: 10px 5px;
}

.blog-card {
    flex: 0 0 calc(33.333% - 20px);
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    min-height: 380px;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.blog-image {
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.blog-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
	text-align:center;
}

.blog-content h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.2rem;
    line-height: 1.4;
    min-height: 56px;
    display: flex;
    align-items: center;
}

.blog-content p {
    margin-bottom: 20px;
    color: var(--text-light);
    flex-grow: 1;
    line-height: 1.5;
}

.blog-nav {
    background: var(--primary-color);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    margin: 0 10px;
    z-index: 10;
}

.blog-nav:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.blog-nav:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.5;
}

.blog-nav svg {
    width: 20px;
    height: 20px;
}

.blog-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.blog-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.blog-indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.blog-indicator:hover {
    background: var(--primary-dark);
}

.blog-loading {
    text-align: center;
    padding: 40px;
    width: 100%;
    color: var(--text-light);
}

/* Responsive adjustments for blog section */
@media (max-width: 1200px) {
    .blog-card {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media (max-width: 992px) {
    .blog-card {
        flex: 0 0 calc(50% - 15px);
        min-height: 360px;
    }
    
    .blog-content h3 {
        font-size: 1.1rem;
        min-height: 52px;
    }
    
    .blog-image {
        height: 160px;
    }
}

/* Mobile blog section fixes */
@media (max-width: 768px) {
    .blog-section {
        padding: 40px 0;
    }
    
    .blog-container {
        position: relative;
        padding: 0 40px;
    }
    
    .blog-track {
        gap: 15px;
        padding: 10px 0;
    }
    
    .blog-card {
        flex: 0 0 calc(100% - 10px) !important;
        min-height: 320px;
        margin: 0 5px;
    }
    
    .blog-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 20;
        margin: 0;
        width: 35px;
        height: 35px;
    }
    
    .blog-nav-prev {
        left: 0;
    }
    
    .blog-nav-next {
        right: 0;
    }
    
    .blog-nav svg {
        width: 16px;
        height: 16px;
    }
    
    .blog-content h3 {
        font-size: 1.1rem;
        min-height: auto;
        margin-bottom: 10px;
    }
    
    .blog-image {
        height: 160px;
    }
}

@media (max-width: 576px) {
    .blog-container {
        padding: 0 30px;
    }
    
    .blog-card {
        min-height: 300px;
    }
    
    .blog-content {
        padding: 15px;
    }
    
    .blog-content h3 {
        font-size: 1rem;
    }
    
    .blog-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
}